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?
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?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Top five words by occurrence
by ikegami (Patriarch) on Jul 19, 2005 at 14:05 UTC |
In Section
Seekers of Perl Wisdom