in reply to
Re: Top five words by occurrence
in thread Top five words by occurrence
last if $top--;
In your first example this would evaluate to 'last if true', thus exiting the loop before the first print statement would get called.
Shouldn't that be last unless $top--; or am I overlooking something?
Results (632 votes),