Perl versions prior to 5.4 required srand() be called to seed the random number generator. Recent perl including those support by Foswiki automatically call srand() internally to seed the random generator algorithm using /dev/urandom or some other system source of randomness. It is recommended that srand() no longer be called.

-- GeorgeClark - 22 May 2011

 

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads