Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

stringify

Converts a value to its string representation, respecting overload.

If the value is already a string, passes it through unchanged. If it is a blessed reference with a "" (stringify) overload handler, invokes that handler. Otherwise converts via default stringification (Sv::to_str_cow).

Synopsis

my $s = "$value";    # stringify via interpolation

See Also

ref, overload