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

Re: (humor) The first rule of The XP club is...

by Juerd (Abbot)
on Jul 12, 2002 at 06:30 UTC ( #181219=note: print w/ replies, xml ) Need Help??


in reply to (humor) The first rule of The XP club is...

perl -le 'print "Blame ".${["ar0n", "tye"]}[rand 2]'

perl -le'print "Blame ", (qw/ar0n tye/)[rand 2]'
Hmmm...
perl -le'$foo{ (qw/ar0n tye/)[rand 2] }++ for 1..1000; print "tye was +blamed $foo{tye} times.\nar0n was blamed $foo{ar0n} times."' tye was blamed 516 times. ar0n was blamed 484 times.
Sorry, tye :)

- Yes, I reinvent wheels.
- Spam: Visit eurotraQ.


Comment on Re: (humor) The first rule of The XP club is...
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2014-10-31 04:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (214 votes), past polls