Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: 99 bottles of beer on the wall

by corenth (Monk)
on Apr 02, 2004 at 19:39 UTC ( #342099=note: print w/replies, xml ) Need Help??


in reply to 99 bottles of beer on the wall

while ($beer>0) { print "$beer bottles of beer on the wall, $beer bottles of beer\nY +ou take one down, and pass it around,"; $beer--; #got to subtract beer here!!! print "$beer bottles of Beer on the wall\n"; sleep 1; }
Great fun!!! :)
$state->{tired} = "true";

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://342099]
help
Chatterbox?
[LanX]: what?
[LanX]: $; exists, so does the glob
[GotToBTru]: $; is "useful for emulating multi-dimensional arrays in Perl4"
[LanX]: i.e. &; is parsable
[LanX]: it's sometimes useful in P5 too
[LanX]: but I don't understand the question...
[GotToBTru]: okay, I see what it does

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2017-01-18 21:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (164 votes). Check out past polls.