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?
Electric dreams (yikes!)
2001: A Space Odyssey
None of the above, please specify
Results (134 votes),