summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2016-05-21 12:22:33 -0700
committerFather Chrysostomos <sprout@cpan.org>2016-07-13 01:12:47 -0700
commita15a3d9b600adf7d9dd78193d608361f302b0370 (patch)
tree0e874f12d3de784f0107028fc484255738fa98d4 /gv.c
parent1a53cdb5c0a2c7f6b92ecb87480a4448bb6022c0 (diff)
downloadperl-a15a3d9b600adf7d9dd78193d608361f302b0370.tar.gz
Disable ${^ENCODING}
${^ENCODING} is disabled and tests are modified to account.
Diffstat (limited to 'gv.c')
-rw-r--r--gv.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gv.c b/gv.c
index dff611ead8..4d5a071181 100644
--- a/gv.c
+++ b/gv.c
@@ -1921,9 +1921,6 @@ S_gv_magicalize(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len,
goto magicalize;
break;
case '\005': /* $^ENCODING */
- if (*name2 == '_') {
- name2++;
- }
if (strEQ(name2, "NCODING"))
goto magicalize;
break;