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

Re^2: poll ideas quest 2007

by goibhniu (Hermit)
on Feb 28, 2008 at 22:52 UTC ( #671038=note: print w/replies, xml ) Need Help??


in reply to Re: poll ideas quest 2007 (holy war)
in thread poll ideas quest 2007

  • Perl vs. my @otherlangs = ('Ruby','Python','JAVA');$otherlangs[rand($#otherlangs)];
  • Perlmonks vs. $trollnames[rand($#trollnames)];

. . . and I'll leave populating @trollnames as an exercise for the reader.


#my sig used to say 'I humbly seek wisdom. '. Now it says:
use strict;
use warnings;
I humbly seek wisdom.

Replies are listed 'Best First'.
Re^3: poll ideas quest 2007
by ambrus (Abbot) on Feb 29, 2008 at 07:56 UTC

    $trollnames[rand($#trollnames)];

    That never chooses the last troll. Use $trollnames[rand(@trollnames)] instead.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://671038]
help
Chatterbox?
[Corion]: First World Problems - on my new desk, the sun shines in my face :)
[LanX]: damn sun ...blame Ophelia!
[choroba]: Yesterday, I gave Ramirez a headshot through the gate in Aztec. LOL. What happened to you? WTF? Sun. There was a hole in the window foil.

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (14)
As of 2017-10-18 13:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (245 votes). Check out past polls.

    Notices?