Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
sub lowest {
@array = ("$x,$y,$z");
print join(' ', sort { $a <=> $b } @array, "\n"); }
I've been staring at this code trying different aproches for days now any sugetions would be much appeciated
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl help sort
by archon (Monk) on Mar 09, 2001 at 23:52 UTC | |
by Anonymous Monk on Mar 10, 2001 at 00:17 UTC | |
|
Re: perl help sort
by danger (Priest) on Mar 10, 2001 at 01:26 UTC |