in reply to Underscore in scalar name not in main package
In particular, the special ${^_XYZ} variables are always taken to be in package main, regardless of any package declarations presently in scope.
Note that this paragraph should be read as the last paragraph of the whole section "The Syntax of Variable Names ", as it provides additional information to important details in the preceding text. It definitely doesn't mean "If you want to introduce a global variable without a declaration, start its name with ^_!".
|
|---|