diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-08-29 13:43:17 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-08-29 13:43:17 -0700 |
commit | efe889ae38a5f2c6e26a31f33186cd13d4946962 (patch) | |
tree | 6fc393503a521c25fe8ae028298605c78fbcac34 /gv.c | |
parent | b64a1294cf75eebd873e05ee3b771d165893ed3b (diff) | |
download | perl-efe889ae38a5f2c6e26a31f33186cd13d4946962.tar.gz |
&CORE::foo() for tie functions
This commit allows the tie, tied and untie subroutines in the CORE
namespace to be called through references and via &ersand() syntax.
pp_coreargs is modified to handle the functions with \[$@%*] in their
prototypes (which happen to be just the tie functions).
Diffstat (limited to 'gv.c')
-rw-r--r-- | gv.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1362,9 +1362,8 @@ Perl_gv_fetchpvn_flags(pTHX_ const char *nambeg, STRLEN full_len, I32 flags, case KEY_splice: case KEY_stat: case KEY_system: - case KEY_tie: case KEY_tied: case KEY_truncate: case KEY_umask: case KEY_unlink: - case KEY_unpack: case KEY_unshift: case KEY_untie: + case KEY_unpack: case KEY_unshift: case KEY_values: case KEY_write: ampable = FALSE; } |