![]() |
|
Keep It Simple, Stupid | |
PerlMonks |
Re^4: Note on usage of ours variables and a questionby likbez (Sexton) |
on Nov 20, 2019 at 03:20 UTC ( #11108927=note: print w/replies, xml ) | Need Help?? |
Looks like one needs additional underscore:
"No name that begins with ^_ will acquire a special meaning in any future version of Perl; such names may therefore be used safely in programs. $^_ itself, however, is reserved." "In particular, the special ${^_XYZ} variables are always taken to be in package main , regardless of any package declarations presently in scope."
In Section
Seekers of Perl Wisdom
|
|