summaryrefslogtreecommitdiff
path: root/plan9
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-08-24 23:31:28 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-08-24 23:32:41 -0700
commit46e00a91c0fa7d86de7f65504ba0a402c422d58b (patch)
tree80b77a8bbb9a14b780485c7a2a77a706630a946e /plan9
parentc086f97a1425c2aa61dd3625b890e1236b1d4bc4 (diff)
downloadperl-46e00a91c0fa7d86de7f65504ba0a402c422d58b.tar.gz
Allow ampersand calls to CORE subs with (_) proto
This commit adds all subs with a (_) prototype to the list of those that can be called with ampersand syntax or through references. These have bodies like this: $ ./perl -Ilib -MO=Concise,CORE::abs -e 'BEGIN{\&CORE::abs}' CORE::abs: 3 <1> leavesub[1 ref] K/REFC,1 ->(end) 2 <1> abs[t1] sK/1 ->3 1 <$> coreargs(IV 111) s ->2 -e syntax OK coreargs fetches the caller’s $_ if there are no arguments passed.
Diffstat (limited to 'plan9')
0 files changed, 0 insertions, 0 deletions