Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: Top five words by occurrenceby Dietz (Curate) |
on Jul 19, 2005 at 10:29 UTC ( [id://476024]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|