in reply to Frequency of words in text file and hashes

Hi perl_seeker

This should do what you want

for (sort {$count{$b} <=> $count{$a}} keys %count){ print "$_ $count{$_}\n"; };

thinker

Replies are listed 'Best First'.
Re^2: Frequency of words in text file and hashes
by perl_seeker (Scribe) on Mar 24, 2005 at 09:36 UTC
    Hello!
    "my apologies to everyone for the delayed response."

    Thanks for the code thinker, works fine.
    perl_seeker:)