Debian Codegraph @

INSTALL

raw
1 Beginning with version 0.68, two versions of the phrtsd routine are
2 available. If you want the new version, run 'perl Makefile.PL' as
3 usual. If you want the original version, run:
4
5 perl Makefile.PL phrtsd_orig
6
7 The original version, which is the same as the phrtsd routine in the
8 original Fortran library, generates the same seed numbers for all
9 permutations of the same characters. For instance, 'abc', 'bca',
10 and 'cab' will all generate the same seeds. Some users find this
11 behavior surprising. Also, when Math::Random is loaded, it sets the
12 seeds from scalar(localtime), which will be a string like
13 'Mon Jun 26 15:45:12 2006'. Nine seconds later, however,
14 'Mon Jun 26 15:45:21 2006' will generate the very same seeds.
15
16 The new version uses an entirely different algorithm that will
17 generate different seeds for such strings. This should be suitable
18 for most applications, but the original version is still available
19 for those who need to reproduce the behavior of the Fortran randlib.