LanX pointed out the source of the problem for the first syntax error message regarding line 4.
The second syntax error message about line 11 (the my $max line) is due to missing a semi-colon at the end of the line.
In reply to Re: Use of List::Util
by dasgar
in thread Use of List::Util
by catfish1116
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |