Do you know where your variables are? | |
PerlMonks |
Re^6: How to import "global" variables into sub-scripts from main script?by LanX (Saint) |
on Mar 22, 2021 at 16:57 UTC ( [id://11130145]=note: print w/replies, xml ) | Need Help?? |
> Only evaled code inherits the strict and other pragmas from the surrounding lexical scope. and because of the lexical scoping he can also deactivate most pragmas like strict before eval to avoid that problem
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|