Hi Gurus!
I have the following sub which creates a random
string. Each time I call the sub in my perl
script it returns a random string which is fine.
The problem is every time I run the script the
same strings are returned. I'm running perl
5.001 on Windows 2000.
sub RandomStr
{
my $i=0;
perldoc -f srand
- Original Message -
From: meriwether lewis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, April 05, 2003 10:09 AM
Subject: random sub returns same results...
Hi Gurus!
I have the following sub which creates a random
string. Each time I call the sub
Meriwether Lewis wrote:
Hi Gurus!
I have the following sub which creates a random
string. Each time I call the sub in my perl
script it returns a random string which is fine.
The problem is every time I run the script the
same strings are returned. I'm running perl
5.001 on Windows 2000.