Look at the output, a b c should show up as "line delimiters" when $\ is iterating thru but are ignored.
OTOH when setting $" it does effect the internal delimiter of the array interpolation.
It's hard to understand why iterating with one special var has an effect while the other doesn't. This is the opposite of orthogonal behavior.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re^6: foreach $1 -- all special variables
by LanX
in thread foreach $1
by choroba
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |