Perl-Sensitive Sunglasses | |
PerlMonks |
Re^3: Want for a name?by LanX (Saint) |
on Dec 11, 2013 at 20:40 UTC ( [id://1066715]=note: print w/replies, xml ) | Need Help?? |
sure, you need to localize them. But $a and $b always have the risk to be lexicals from the outer scope², I wanted to avoid discussing that problem.¹ It's about naming after all...
Cheers Rolf ( addicted to the Perl Programming Language) ¹) compare this error
²) being bound to another package can be solved by investigating the caller, but checking for lexicals involves padwalker.
In Section
Seekers of Perl Wisdom
|
|