... use of $1 as a loop variable is ... unusual ...
I was surprised that Perl is quite happy, both with and without full warnings and strictures, with aliasing $1, normally read-only, to a for-loop list, then chomp-ing it, but this is so under the few Perl versions I tried. I guess the alias does the trick.
Give a man a fish: <%-(-(-(-<
In reply to Re^2: Getting an unknown error
by AnomalousMonk
in thread Getting an unknown error
by andybshaker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |