|Subject:||Better Default Seeding|
Hi: By default, you seed the module using localtime. In the modules I've written (currently on CPAN) dealing with random stuff, that's what I've done too. I just learned today that there is a Perl_seed variable we can use, which gets the seed of the currently executing thread, which is used internally (I guess) for seeding hashes and stuff. Ultimately it should prove to be a better default seed. I'm working on preparing a patch for Debian. There is a bug report on this,-- but I think the patch could be better, so I'll send the updated one after I'm done. Notably, the patch submitted by Don Armstrong does not ensure that we're running on Perl 5.8+, which is when these seeds were introduced.