in reply to Sort not acting as expected on Hash Ref
for my $e1 ( sort { $b <=> $a } keys %$sort_line_contents ) { for my $e2 ( sort keys %{ $sort_line_contents->{$e1} } ) { print $sort_line_contents->{$e1}->{$e2}, "\n"; } }
jdporter
The 6th Rule of Perl Club is -- There is no Rule #6.
|
|---|