On Mon, Jul 28, 2008 at 10:54 PM, Bobby <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> How do I use the rand function to print out more than one random number for 
> an array? In the example script below i have an array @nums with a list of 
> numbers; how do i print out more than one random numbers from that list 
> (@nums)? Thanks.
>

You may need srand before the rand function.



-- 
Regards,
Jeff. - [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to