- or download this
my $sorter = \&some_function;
sort $sorter (1,2,3);
- or download this
sort \&some_function (1,2,3);
- or download this
sort make_sorter() (1,2,3)
- or download this
use strict;
use warnings;
...
my ($a,$b) = @_;
$a <=> $b;
}
- or download this
use strict;
use warnings;
...
my ($a,$b) = @_;
$a <=> $b;
}
- or download this
syntax error at pmsort line 4, near ") ("