This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
&CORE::unpack()
authorFather Chrysostomos <sprout@cpan.org>
Tue, 30 Aug 2011 01:12:56 +0000 (18:12 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 30 Aug 2011 01:20:16 +0000 (18:20 -0700)
commitd6d78e19334f3abcd2eb659205839eb1295aacbf
treeef100408f692009cc5b370bb1e9d556aa024412c
parent58536d157b70c5107d3c064bf009dfb9b52919ce
&CORE::unpack()

This commit allows &CORE::unpack to be called through references and
via ampersand syntax.

It moves the $_-handling code in pp_coreargs inside the parameter
loop, so it can apply to the second parameter, not just the first.
Consequently, a mkdir test has been added that ensures implicit $_
is not used for mkdir’s second argument; i.e., that the $_-handling
code’s if() condition is correct.
gv.c
pp.c
t/op/coreamp.t