Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: 99 bottles of beer on the wall

by bart (Canon)
on Apr 02, 2004 at 19:38 UTC ( #342097=note: print w/ replies, xml ) Need Help??


in reply to 99 bottles of beer on the wall

You didn't provide a mechanism that changes "bottles" to "bottle" when $beer==1.

Oh, and $beer should be decremented at the moment you say "take one down".


Comment on Re: 99 bottles of beer on the wall
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2014-07-10 23:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (217 votes), past polls