in reply to Re^2: Sorting a hash of a hash using anonymous subs
in thread Sorting a hash of a hash using anonymous subs
for my $mainkey ( sort keys %copy ) { my $subref = $copy{ $mainkey }; my $total = $subref -> { Total }; my $value = $subref -> { Value }; # process $mainkey, $total and $value ... }
-M
Free your mind
|
|---|