hv_name#

Return the package name of a stash HV.

Synopsis#

my $stash = B::svref_2object(\%main::);
print $stash->NAME;     # "main"

Meaningful only on stash hashes (those accessible as %Pkg::). A plain user hash returns an empty string.