Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: 99 Bottles Of Beer (can't we do better)

by particle (Vicar)
on Feb 20, 2002 at 09:04 UTC ( #146529=note: print w/replies, xml ) Need Help??


in reply to 99 Bottles Of Beer (can't we do better)

bad with pronouns, but i'm too tired to fix it up better... (162 - CRLF only to be web-friendly)

$a=shift;@b=(" bottles of beer"," on the wall,$/", "$/Take one down, pass it around,"); do{print$a,@b[0,1],$a,@b[0,2];print$/,--$a,@b[0,1],$/} while$a;print"*burp*";

~Particle

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://146529]
help
Chatterbox?
[1nickt]: Morning monks, howzit?
[ambrus]: AAAAAAARGH!
[ambrus]: something must be wrong here
[ambrus]: oh I see. I'm stupid
[marto]: hi 1nickt!
[ambrus]: The file I'm reading is already filtered, which is why I found only one kind of entry.
[1nickt]: Sorry to upset you brother Ambrus ...
[1nickt]: Ah not me, good!

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2018-01-23 13:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (246 votes). Check out past polls.

    Notices?