in reply to Re^2: Sorting Question
in thread Sorting Question
although you may want to actually sort alphabetically (ie case-insensitive) instead of ASCIIbetically:
@list = sort { lc $a cmp lc $b } @list;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Sorting Question
by allolex (Curate) on Oct 05, 2004 at 16:30 UTC |
In Section
Seekers of Perl Wisdom