Thread
:
Suggestion for perl quest random function
View Single Post
#
5
05-10-2010, 05:25 AM
mixxit
Hill Giant
Join Date: Sep 2006
Posts: 155
my @moo = (221,222,223);
my $choice = rand @moo;
my $picked = $moo[$choice];
$moo = undef;
$choice = undef;
$picked = undef;
mixxit
View Public Profile
Send a private message to mixxit
Find all posts by mixxit