in reply to Re: Random numbers generatorin thread Random numbers generator
my $n=int(rand(10)); # gets you a number 0..9
Me spell chucker work grate. Need grandma chicken.
srand is only required if your script is
running on a version of Perl earlier than 5.004.
"Perl makes the fun jobs fun
and the boring jobs bearable" - me
There is no Extraterrestrial life
There aren't any suitably capable Extraterrestrials
Interstellar travel is too difficult
We're too uncool / not worth the trouble
What do you mean they haven't visited?
Results (473 votes). Check out past polls.