Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: 99 bottles, 2 lines

by mt2k (Hermit)
on Oct 29, 2002 at 05:04 UTC ( #208668=note: print w/replies, xml ) Need Help??

in reply to 99 bottles, 2 lines

Okay, I just cam across this and had to give it a shot. Mine turns out to be several characters longer than the original, but oh well :)

sub _{"$n bottle@{[$n!=1&&s=>]} of beer".(@_?' on the wall':'!')}$n=po +p||99;print _(1).', '._."\nTake one down, pass it around,\n"._(--$n),"!\n\n"and sl +eep 1while$n;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://208668]
[oiskuu]: Hm. that depends on kernel compiled with CONFIG_AUDITSYSCAL L
[tye]: apropos my several mentions of audit
[Corion]: At least my (non-SELinux) Debian has that config thing set. I don't have non-Debian machines handy (except Android)

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2017-06-23 19:52 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (554 votes). Check out past polls.