in reply to Re: scope of variable
in thread scope of variable
Nested subs in Perl are actually global, but they bind, as a closure to the variables for the first time the parent sub is called.
Which is, I'm pretty sure, the root of his problem.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: scope of variable
by space_monk (Chaplain) on May 27, 2013 at 13:06 UTC |
In Section
Seekers of Perl Wisdom