Perl 5 is stricter - it insists on Scalars being represented by the "$" sigil - in your case, printing ONE score item is a scalar, so perl (5) expects a "$".
Syntactic sugar causes cancer of the semicolon. --Alan Perlis
In reply to Re: Scalar value @scores_sorted[$i] better written as $scores_sorted[$i]
by NetWallah
in thread Scalar value @scores_sorted[$i] better written as $scores_sorted[$i]
by filesurfer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |