in reply to •Re^2: Sorting - lower to upper
in thread Sorting - lower to upper
--from above--
Don't forget about the Schwartzian Transform:Will give youmy %hash = qw/John 1 Bob 1 xavier 1 alice 1/; my @keys = map { (my $x = $_) =~ tr/a-zA-Z/A-Za-z/; $x } sort map { (my $x = $_) =~ tr/a-zA-Z/A-Za-z/; $x } keys %hash; print "@keys\n";
alice xavier Bob John
|
|---|