From owner-freebsd-questions Mon Nov 12 11:20:17 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gaia.host4u.net (gaia.host4u.net [209.150.128.48]) by hub.freebsd.org (Postfix) with ESMTP id 8BC5B37B416 for ; Mon, 12 Nov 2001 11:20:12 -0800 (PST) Received: from andre ([216.71.43.117]) by gaia.host4u.net (8.8.5/8.8.5) with SMTP id NAA17219; Mon, 12 Nov 2001 13:06:51 -0600 Message-ID: <00d801c16bae$d0a8ced0$a50410ac@olmct.net> Reply-To: "Andre` Niel Cameron" From: "Andre` Niel Cameron" To: "Gerald T. Freymann" , "free bsd" References: <00b801c16baa$6f4bde60$a50410ac@olmct.net> <026001c16bad$ae034a50$0f01a8c0@phantom> Subject: Re: Perl Question Date: Mon, 12 Nov 2001 14:18:30 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > $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