in reply to Re: Sorting an array of strings by number
in thread Sorting an array of strings by number
True. But I don't think anyone has mentioned that this will generate warnings. But you can turn them off around that part of the code:
- tye (but my friends call me "Tye")my @sorted= do { local( $^W )= 0; sort { $a <=> $b } @data; };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (tye)Re: Sorting an array of strings by number
by Fletch (Bishop) on Oct 03, 2001 at 21:35 UTC | |
by Anonymous Monk on Oct 16, 2001 at 20:08 UTC |