gv_safename#

Return the GV’s name with control characters rendered as ^X.

Synopsis#

B::svref_2object(\*{"main::\cA"})->SAFENAME;   # "^A"

The single-character control names (*^A, *^D, *^?) appear in the stash with raw control bytes in their name; SAFENAME renders them in the caret form normally used in Perl source.