foreach my $hash ( sort {$file_hashes{$a} cmp $file_hashes{$b}} keys %file_hashes ) { print "$hash $file_hashes{$hash}\n"; }
In reply to Re^2: Sorting an array of hashes and filenames
by Anonymous Monk
in thread Sorting an array of hashes and filenames
by learningperl01
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |