diff options
author | Nicholas Clark <nick@ccl4.org> | 2013-08-29 10:47:31 +0200 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2013-08-29 10:51:18 +0200 |
commit | 66230c862b0c3d1a8bbb014cc747d938d0e90149 (patch) | |
tree | 6ff8d3370898ab929ea2e565cbaae959467672a7 /gv.c | |
parent | b8f07b9f533b110a924514a9e3dd9017a224fd36 (diff) | |
download | perl-66230c862b0c3d1a8bbb014cc747d938d0e90149.tar.gz |
${^MPEN} had been treated as a synonym of ${^MATCH} due to a missing break;
A missing break; in Perl_gv_fetchpvn_flags() meant that the variable ${^MPEN}
had been behaving as a synonym of ${^MATCH}. Adding the break makes ${^MPEN}
behave like all other unused multi-character control character variable.
Diffstat (limited to 'gv.c')
-rw-r--r-- | gv.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1823,6 +1823,7 @@ Perl_gv_fetchpvn_flags(pTHX_ const char *nambeg, STRLEN full_len, I32 flags, case '\015': /* $^MATCH */ if (strEQ(name2, "ATCH")) goto magicalize; + break; case '\017': /* $^OPEN */ if (strEQ(name2, "PEN")) goto magicalize; |