I've tested with $a and the loop var didn't interfere with the sort block.
Probably we need to decide case by case...
Though my gut feeling says all non alphabetic symbols should cause a warning when used as a loop alias.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re^3: foreach $1
by LanX
in thread foreach $1
by choroba
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |