summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2016-05-16 23:10:17 -0700
committerFather Chrysostomos <sprout@cpan.org>2016-05-20 22:13:42 -0700
commit73665bc485938167ff7ce1082176b6dac0df99de (patch)
tree0b5abf987b5ab55335f57085a6c4d367c6b03a4a /gv.c
parent81477935a7844157c487842db13847814f93b52a (diff)
downloadperl-73665bc485938167ff7ce1082176b6dac0df99de.tar.gz
Allow &CORE::foo() with hash functions
&CORE::keys does not yet work as an lvalue. (I’m not sure how to make that work.)
Diffstat (limited to 'gv.c')
-rw-r--r--gv.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gv.c b/gv.c
index e4fb3feca7..0ab38137e0 100644
--- a/gv.c
+++ b/gv.c
@@ -531,8 +531,7 @@ S_maybe_add_coresub(pTHX_ HV * const stash, GV *gv,
return NULL;
case KEY_chdir:
case KEY_chomp: case KEY_chop: case KEY_defined: case KEY_delete:
- case KEY_each : case KEY_eof : case KEY_exec : case KEY_exists:
- case KEY_keys:
+ case KEY_eof : case KEY_exec: case KEY_exists :
case KEY_lstat:
case KEY_pop:
case KEY_push:
@@ -542,7 +541,6 @@ S_maybe_add_coresub(pTHX_ HV * const stash, GV *gv,
case KEY_system:
case KEY_truncate: case KEY_unlink:
case KEY_unshift:
- case KEY_values:
ampable = FALSE;
}
if (!gv) {