![]() |
|
Syntactic Confectionery Delight | |
PerlMonks |
Re^3: The value of pattern match variable $&by ikegami (Patriarch) |
on May 15, 2006 at 15:12 UTC ( #549530=note: print w/replies, xml ) | Need Help?? |
That doens't quite explain it. It the first loop, it's as if the implicit local $& is outside of the loop — It prints 'bar' on the 'baz' pass of the loop — while in the second loop, it's as is the implicit local $& is inside of the loop. Could
In Section
Seekers of Perl Wisdom
|
|