Owen wrote:
>
> On Sun, 07 Dec 2003 03:29:02 -0800
> "John W. Krahn" <[EMAIL PROTECTED]> wrote:
>
> > I did a "grep -i -r 'seed' *.c" and the only hit I got was in pp.c.
>
> FWIW
>
> [EMAIL PROTECTED] perl-5.8.2]# grep -r seed
>
> util.c:Perl_seed(pTHX)
> util.c:* is enough real entropy to
On Sun, 07 Dec 2003 03:29:02 -0800
"John W. Krahn" <[EMAIL PROTECTED]> wrote:
> I did a "grep -i -r 'seed' *.c" and the only hit I got was in pp.c.
FWIW
[EMAIL PROTECTED] perl-5.8.2]# grep -r seed
util.c:Perl_seed(pTHX)
util.c:* is enough real entropy to fill the seed. */
util.c:Perl_get_
Tassilo Von Parseval wrote:
>
> On Sat, Dec 06, 2003 at 04:38:02PM -0800 John W. Krahn wrote:
> >
> > Download the source code for Perl if you don't already have it and have
> > a look at the pp.c file.
>
> The actual seed is calculated in Perl_seed() in util.c. The calculation
> of the seed itse
On Sat, Dec 06, 2003 at 04:38:02PM -0800 John W. Krahn wrote:
> Pd Schloss wrote:
> > I'm reviewing a perl script that someone wrote to do a statistical
> > analysis. I know it's bad form, but I was wondering if anyone knows
> > what the default seed is for the random number generator in Perl.
Pd Schloss wrote:
>
> Hi,
Hello,
> I'm reviewing a perl script that someone wrote to do a statistical
> analysis. I know it's bad form, but I was wondering if anyone knows
> what the default seed is for the random number generator in Perl. They
> haven't seeded it with "srand" - what does this
Pd Schloss wrote:
>
> I'm reviewing a perl script that someone wrote to do a statistical
> analysis. I know it's bad form, but I was wondering if anyone knows
> what the default seed is for the random number generator in Perl. They
> haven't seeded it with "srand" - what does this do? It still s
Hi,
I'm reviewing a perl script that someone wrote to do a statistical
analysis. I know it's bad form, but I was wondering if anyone knows
what the default seed is for the random number generator in Perl. They
haven't seeded it with "srand" - what does this do? It still seems to
pick random num