|Problems? Is your data what you think it is?|
Re^2: Unusual variable declarationby LanX (Cardinal)
|on Nov 03, 2019 at 12:12 UTC||Need Help??|
I almost always use this construct with local except if I want to alias globally.
local *var = \$main::var;
Otherwise any later use of $My::var in another scope will also be aliased.
Should also be mentioned that typeglob aliasing is the essential underlying mechanism Exporter is using.
Though mostly for subs not vars and always globally.