Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

42 bottles of rum on the wall

by gildir (Pilgrim)
on Oct 16, 2002 at 15:03 UTC ( #205735=obfuscated: print w/replies, xml ) Need Help??

Really my first obfu and yet not really an obfu, but I hope you like rum just as I do ...
$bottles =42; @o=( "Take one ". "down, pass ". "it around ", "\n"); $wall="1 ". "bottles of rum 2\n"; sub r {print @_}; sub rum{$_=$wall; s/(\d)/$_[$1-1]/g;s/s//s unless $_[0]-1; print;}; do{rum$bottles,"on the " ."wall";rum$bottles;r(@o );$bottles--;rum$bottles if$bottles;print @o[-1]; }while $bottles; <DATA>; r<DATA>;__DATA__ bottles No more rum ...

Replies are listed 'Best First'.
Re: 42 bottles of rum on the wall
by Kage (Scribe) on Oct 20, 2002 at 20:50 UTC
    Kage belches. Mmm, Rum is good for the bellah. :-)
    “A script is what you give the actors. A program is what you give the audience.” ~ Larry Wall

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: obfuscated [id://205735]
Approved by TStanley
help
Chatterbox?
[runrig]: https://youtu.be/ HmLk2vSXXtk
[LanX]: ... Trump Around. ... 🎶
[runrig]: Total Eclipse
[runrig]: (of the Sun)
[runrig]: Is happening now...will get to about 70% where I am

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2017-08-21 16:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (324 votes). Check out past polls.

    Notices?