Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: my $1by almut (Canon) |
on Apr 23, 2009 at 20:22 UTC ( [id://759648]=note: print w/replies, xml ) | Need Help?? |
Why do $1 and $2 behave differently than $_ Do they?
Hint: use local for global/package variables instead (if you really need to...). Or, in your case with $1 etc., I think simply creating a local copy of $1 with my $capt1 = $1; would be sufficient for your recursion problem.
In Section
Seekers of Perl Wisdom
|
|