Syntactic Confectionery Delight | |
PerlMonks |
Re: Re: Can't localize lexical variable $var at...by Courage (Parson) |
on Jun 09, 2002 at 19:17 UTC ( [id://172941]=note: print w/replies, xml ) | Need Help?? |
you wrote: In particular, a sub outside the scope cannot see that variable. But subs inside that scope are able to see that! And I cleanly see a way how that lexically scoped variable could be stacked, just like global variable! But yes, I'll better just use lexical variables and implement stacking if I really need. Best wishes,
In Section
Seekers of Perl Wisdom
|
|