good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^3: Named captures or positional variablesby LanX (Saint) |
on Dec 11, 2014 at 01:18 UTC ( [id://1109998]=note: print w/replies, xml ) | Need Help?? |
> Is it possible for a pragma to create "my" variables in the use-ing package? If lexical variables are already declared in the calling package, you can change their value, e.g. with PadWalker. Otherwise it wouldn't compile under strict if you try to use them.
Cheers Rolf (addicted to the Perl Programming Language and ☆☆☆☆ :)
In Section
Seekers of Perl Wisdom
|
|