&CORE::rand()
authorFather Chrysostomos <sprout@cpan.org>
Fri, 26 Aug 2011 17:12:01 +0000 (10:12 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 27 Aug 2011 01:21:46 +0000 (18:21 -0700)
commit94ec06bc74ba3a61d5daddf3adeaa53459960136
tree9e06d2a9f4684d206c3b40303e55934550c52cee
parent3e6568b4d097eff42dadf96c5f05b8b02fd9dc29
&CORE::rand()

This commit allows &CORE::rand to be called through references and
via ampersand syntax.  pp_rand 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 rand how many arguments it’s
actually getting.  See commit 0163043a for details.
gv.c
pp.c
t/op/coresubs.t