"Randal L. Schwartz" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> That's correct, but if you have a very very very old Perl, you'll need
> to add "srand;" at the beginning of your program.  Do it just once,
> though.

That was one of the first things I tried - but I think my Perl is pretty up
to date [I only downloaded it the day before yesterday....lol] anyhoo - it
didn't make any difference.

> The normal idiom is:
>
>         my $one_of_many = $many[rand @many];

I keep seeing this "my $var" hmmm .... I understand what it is but not
really when to use it and when not - *decides to go do some reading up on
*my* and experiment*

Wytch



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to