in reply to Re: Sorting @_
in thread Sorting @_
when@sorted = sort {$a cmp $b} @data;
will do, and faster!@sorted = sort @data;
-- Randal L. Schwartz, Perl hacker
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Sorting @_
by vim (Initiate) on Nov 19, 2000 at 20:56 UTC |