On Fri, May 2, 2008 at 9:48 PM, Richard Lee <[EMAIL PROTECTED]> wrote: snip > Chas, does this mean as long as we don't call another sub from the block we > declare local, we should be good. Correct? > I like using local on some of these variables...... for some reason. Most > likely due to misleading name :-) Can't help myself. snip
Yes, only code the executes from inside the block (including function calls, and their functions calls, etc) can see the localized value. -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/