maxrpg
03-09-2005, 07:45 PM
hi
i dont know much about cgi/perl but i need help please. im just going to keep this short :)
i have this: my $thing = 1;
but what i want to do is have $thing be a random number between 1 and 5 everytime the script executes..does anyone know how i do this please??
i think it has something to do with the rand command but i dont know how to use it :( ...you know like: my $thing = random number
can anyone help me??
thank you thank you thank you thank you
i dont know much about cgi/perl but i need help please. im just going to keep this short :)
i have this: my $thing = 1;
but what i want to do is have $thing be a random number between 1 and 5 everytime the script executes..does anyone know how i do this please??
i think it has something to do with the rand command but i dont know how to use it :( ...you know like: my $thing = random number
can anyone help me??
thank you thank you thank you thank you