stringify#

Synopsis#

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

Description#

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).

See also#

ref, overload