This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
&CORE::srand()
authorFather Chrysostomos <sprout@cpan.org>
Sun, 28 Aug 2011 01:50:19 +0000 (18:50 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 28 Aug 2011 06:37:48 +0000 (23:37 -0700)
commitd22667bf3cdadad95b9d176de3bf87d0b0e1286e
tree7e971a423f1299f314615839e1873199b4e6bb54
parent0da4a804fef07340c6c2f7617fcf7ed884cea7ae
&CORE::srand()

This commit allows &CORE::srand to be called through references and
via ampersand syntax.  pp_srand is modified to take into account the
nulls pushed on to the stack in pp_coreargs, which happens because
pp_coreargs has no other way to tell srand how many arguments it’s
actually getting.  See commit 0163043a for details.
gv.c
pp.c
t/op/coreamp.t