or:for my $line (@sorted_data) { print "$line \t $hash_count{$line} \n"; }
print map {"$_ \t $hash_count{$_} \n"} @sorted_data;
In reply to Re^5: String sorting in Perl
by Laurent_R
in thread String sorting in Perl
by markdavis87
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |