cv_name_hek#
Return the CV’s name when it was stored as a HEK rather than via a GV.
Synopsis#
my $name = $cv->NAME_HEK; # undef unless CVf_NAMED is set
Modern perl stores some sub names directly in a hash-key slot on the CV
(cheaper than a full GV). If the CV does not use that slot, returns
undef; callers generally fall back to $cv->GV->NAME.