Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: poll ideas quest 2007

by goibhniu (Hermit)
on Feb 28, 2008 at 22:52 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://671038]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2024-03-28 17:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found