pv_pv#

Return the string contents of a PV SV, preserving SVf_UTF8.

Synopsis#

my $pv = B::svref_2object(\"hello");
print $pv->PV;

Returns the full SvCUR bytes, so embedded \0 are kept. An SV with no PV slot returns an empty string.