Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Top five words by occurrence

by Dietz (Curate)
on Jul 19, 2005 at 10:29 UTC ( [id://476024]=note: print w/replies, xml ) Need Help??


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?

Replies are listed 'Best First'.
Re^3: Top five words by occurrence
by ikegami (Patriarch) on Jul 19, 2005 at 14:05 UTC
    aye, you're right.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://476024]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-26 01:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found