summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-08-29 13:43:17 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-08-29 13:43:17 -0700
commitefe889ae38a5f2c6e26a31f33186cd13d4946962 (patch)
tree6fc393503a521c25fe8ae028298605c78fbcac34 /gv.c
parentb64a1294cf75eebd873e05ee3b771d165893ed3b (diff)
downloadperl-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 &ampersand() 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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gv.c b/gv.c
index 373f571efb..46559c787f 100644
--- a/gv.c
+++ b/gv.c
@@ -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;
}