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

Re^3: Drunk on golf: 99 Bottles of Beer

by eyepopslikeamosquito (Archbishop)
on Jun 03, 2011 at 12:48 UTC ( [id://907967]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    n=0;~/s/ until/, 99\D+/=~$_="Take one down and pass it around, #{c=n+=
    +1," bottle#$& of beer"," on the wall"}.
    
    #{c}, %s%s.
    #$_"%c;puts$'+"Go to the store and buy some more"+$&
    
  2. or download this
    n=0;$_="Take one down and pass it around, #{~/s/;c=n+=1," bottle#$& of
    + beer"," on the wall"}.
    
    #{c}, %s%s.
    #$_"%c until~/, 99\D+/;puts$'+"Go to the store and buy some more"+$&
    
  3. or download this
    n=0;n+=1
    4-$.-=1
    
  4. or download this
    $_="Take one down and pass it around, #{~/s/;c=4-$.-=1," bottle#$& of 
    +beer"," on the wall"}.
    
    #{c}, %s%s.
    #$_"%c until/, 99\D+/;puts$'+"Go to the store and buy some more"+$&
    
  5. or download this
    $_="Take one down and pass it around, #{c=4-$.-=1," bottle#{c&&:s} of 
    +beer"," on the wall"}.
    
    #{c}, %s%s.
    #$_"%c until/, 99\D+/;puts$'+"Go to the store and buy some more"+$&
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-03-19 04:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found