my @sorted_places = map { $_->[1] } sort { $a->[0] cmp $b->[0] } map { [ ( values %$_ )[0]->{name}, $_ ] } @$places;
In reply to Re^2: Sorting an array of anonymous hashes with named hashes using hash value
by Anonymous Monk
in thread Sorting an array of anonymous hashes with named hashes using hash value
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |