diff options
author | Father Chrysostomos <sprout@cpan.org> | 2016-05-16 23:10:17 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2016-05-20 22:13:42 -0700 |
commit | 73665bc485938167ff7ce1082176b6dac0df99de (patch) | |
tree | 0b5abf987b5ab55335f57085a6c4d367c6b03a4a /gv.c | |
parent | 81477935a7844157c487842db13847814f93b52a (diff) | |
download | perl-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.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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) { |