in reply to
Recursion and scoping of $1, $2 and friends
Check out
Elian
's marvellous
Zen and the Art of Match Variables
for a detailed description on the scoping of the numbered variables.
HTH
_________
broquaint
Comment on
Re: Recursion and scoping of $1, $2 and friends
In Section
Seekers of Perl Wisdom