in reply to Hash sort again!!
A couple of side notes that will simplify your code somewhat: once you've got the array of words, you don't need a foreach loop with the $Counter</code> increment to get the # of words in the array; a simple my $count = @words will do. Another little note: save some keystrokes,
will increment $sentence_count{$count}.$sentence_count{$count}++;
HTH
In Section
Seekers of Perl Wisdom