diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-08-24 23:31:28 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-08-24 23:32:41 -0700 |
commit | 46e00a91c0fa7d86de7f65504ba0a402c422d58b (patch) | |
tree | 80b77a8bbb9a14b780485c7a2a77a706630a946e /plan9 | |
parent | c086f97a1425c2aa61dd3625b890e1236b1d4bc4 (diff) | |
download | perl-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