slloyd has asked for the wisdom of the Perl Monks concerning the following question:
Desired output:use strict; my @items=qw(A B C a b c); @items=sort(@items); foreach my $item (@items){ print "$item\n"; }
A a B b C c
-------------------------------
by me
http://www.basgetti.com
http://www.kidlins.com
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: sorting text arrays and ignoring case
by matze (Friar) on Mar 09, 2006 at 23:57 UTC | |
by ikegami (Patriarch) on Mar 10, 2006 at 02:27 UTC | |
|
Re: sorting text arrays and ignoring case
by GrandFather (Saint) on Mar 10, 2006 at 00:07 UTC | |
by johngg (Canon) on Mar 10, 2006 at 09:20 UTC | |
by GrandFather (Saint) on Mar 10, 2006 at 09:28 UTC | |
by johngg (Canon) on Mar 10, 2006 at 14:13 UTC |