in reply to Re^2: Frequency occurence of same words in a file
in thread Frequency occurence of same words in a file

Sorry, I tried printing just the below:
print "@{$count{$key}}\n";
and it gives what I am looking for. thank you for your help.