(re)Read sort. Either your subroutine must use $a and $b or it must have a prototype of ($$). Yours does not do the first and does not have the latter.
In reply to Re: Sorting by season
by Corion
in thread Sorting by season
by metaperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |