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
Went to join the gridlock to see it
Held an eclipse party
Watched a live feed
I cn"t see tge kwubosd to amswr thus
I tried to see it, but 8000 miles of rock got in the way
Wanted to see it, but they wouldn't reschedule it
Read the book instead
Results (273 votes). Check out past polls.