Thanks Merlyn, "scarier" is just what I needed:)
In your example, wouldn't $my_sub_level need to have been declared previously in order to have something to localise?
From perlsub A local just gives temporary values to global (meaning package) variables. It does not create a local variable.
In reply to Re: �Re: sub and anonymous sub
by BrowserUk
in thread sub and anonymous sub
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |