in reply to Printing a Tree of Hash of hashes sorted by value
my %hoh = (Method1 => { ... }, Method2 => { ... }, ...); foreach my $key (sort {$hoh{$a}{Category} cmp $hoh{$b}{Category} or $hoh{$a}{File} cmp $hoh{$b}{File} or $hoh{$a}{Name} cmp $hoh{$b}{Name}} keys %hoh) { print Dump $hoh{$key} }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Printing a Tree of Hash of hashes sorted by value
by Bugz (Acolyte) on Oct 13, 2008 at 20:29 UTC | |
by JavaFan (Canon) on Oct 13, 2008 at 22:20 UTC |