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

. . . 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.