Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!s3!gamin From: gamin@ireq-robot.hydro.qc.ca (Martin Boyer) Newsgroups: comp.lang.perl Subject: Re: random numbers? Summary: -Drand=random -Dsrand=srandom Message-ID: <5443@s3.ireq.hydro.qc.ca> Date: 13 Feb 91 20:23:56 GMT References: <3#3Gz8.j@cs.psu.edu> <292@kyzyl.mi.org> <11422@jpl-devvax.JPL.NASA.GOV> Sender: root@s3.ireq.hydro.qc.ca Organization: Laboratoire de robotique, Institut de recherche d'Hydro-Quebec Lines: 17 In article <11422@jpl-devvax.JPL.NASA.GOV> lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) writes: >In article <292@kyzyl.mi.org> tkacik@kyzyl.mi.org (Tom Tkacik) writes: >: [...] >: Would it be difficult to put into the Config script, a check to see if >: either random(BSD) or lrand48(SYSV) exist, and to allow Perl to use them? > >Well, you can probably get away with -Drand=random -Dsrand=srandom. That's what I've been doing for the last ~6 months. No problem so far. I even suggested it to Larry a while ago, by private email, but this may not be a high priority. -- Martin Boyer mboyer@ireq-robot.hydro.qc.ca Institut de recherche d'Hydro-Quebec mboyer@ireq-robot.uucp Varennes, QC, Canada J3X 1S1 +1 514 652-8412