On 3/16/07, John W. Krahn <[EMAIL PROTECTED]> wrote: snip
> my $num = int rand 3 + 1;That will return either 0, 1, 2 or 3. The addition has higher precedence.
snip Yeah, I saw that after I posted. That is what I get for posting untested code. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/