Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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.


Comment on Re^2: poll ideas quest 2007
Select or Download Code
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2014-12-25 13:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (160 votes), past polls