diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-08-21 11:59:44 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-08-25 14:24:36 -0700 |
commit | ce0b554bf53c768c04939d95a2e6b23356a045b0 (patch) | |
tree | a45b49a4116aed4454c29095fdcd727ec8350b23 /Copying | |
parent | c2f922f11b8978a4eea0e0d28626dd3c1f6eaba7 (diff) | |
download | perl-ce0b554bf53c768c04939d95a2e6b23356a045b0.tar.gz |
&CORE::caller()
This commit allows &CORE::caller to be called through references and
via ampersand syntax. pp_caller is modified to take into account
two things:
1) pp_coreargs pushes a null on to the stack, since it has no other
way to tell caller whether it has an argument.
2) The value coming from pp_coreargs (when not null) is off by
one. The OPpOFFYBONE flag was added in commit 93f0bc4935 for
this purpose.
pp_coreargs is also modified, since it assumed till now that an
optional first argument was an implicit $_.
Diffstat (limited to 'Copying')
0 files changed, 0 insertions, 0 deletions