You are learning about closures. :)
Have a good read at perlsub, and pay close attention to all the talk about lexical scoping.
-Colin.
WHITEPAGES.COM | INC
In reply to Re: Using an "outer" lexical in a sub?
by cmeyer
in thread Using an "outer" lexical in a sub?
by cornballer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |