Well, there is a right way and a wrong way to do lexicals, declaring them all up front is the wrong way
see Tutorials: Variable Scoping in Perl: the basics, Coping with Scoping , Mini-Tutorial: Perl's Memory Management, Lexical scoping like a fox
In reply to Re^3: why does this perl routine error?
by Anonymous Monk
in thread why does this perl routine error?
by robertw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |