Nice stuff. +1 on this getting in. Ending the system rand stupidity is the way to go for a language as portable as Perl is. It will also improve hash security on boxen with a poor quality rand. On 8 August 2013 08:44, Tony Cook <tony@develop-help.com> wrote: > In perl.git, the branch tonyc/drandpublic has been created > > <http://perl5.git.perl.org/perl.git/commitdiff/d820fd344e0ce2ee9bd4727cdf2249c1ad8b6afd?hp=0000000000000000000000000000000000000000> > > at d820fd344e0ce2ee9bd4727cdf2249c1ad8b6afd (commit) > > - Log ----------------------------------------------------------------- > commit d820fd344e0ce2ee9bd4727cdf2249c1ad8b6afd > Author: Tony Cook <tony@develop-help.com> > Date: Thu Aug 8 16:31:57 2013 +1000 > > [perl #115928] a consistent (public) rand() implementation > > Based on Yves' random branch work. > > This version makes the new random number visible to external modules, > for example, List::Util's XS shuffle() implementation. > > I've also added a 64-bit implementation when HAS_QUAD is true, this > should be significantly faster, even on 32-bit CPUs. This is intended to > produce excactly the same sequence as the original implementation. > ----------------------------------------------------------------------- > > -- > Perl5 Master Repository -- perl -Mre=debug -e "/just|another|perl|hacker/"