Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Nov 2001 14:18:30 -0500
From:      "Andre` Niel Cameron" <AndreC@Axxs.net>
To:        "Gerald T. Freymann" <freymann@scaryg.shacknet.nu>, "free bsd" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Perl Question
Message-ID:  <00d801c16bae$d0a8ced0$a50410ac@olmct.net>
References:  <00b801c16baa$6f4bde60$a50410ac@olmct.net> <026001c16bad$ae034a50$0f01a8c0@phantom>

next in thread | previous in thread | raw e-mail | index | archive | help
> $myvar = rand(10);
> 
> where 10 is the highest number to use, so $myvar would come back as a
> random number between 0 and 10.
> 
> OR:
> 
> $myvar = srand(value);
> 


Thanks alot guys;)

Andre


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00d801c16bae$d0a8ced0$a50410ac>