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; };
In reply to (tye)Re: Sorting an array of strings by number
by tye
in thread Sorting an array of strings by number
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |