This is to allow two cases in the switch statement to be combined in the
next commit. There should be no effective logic change
sv_setiv(sv, (IV)(PL_debug & DEBUG_MASK));
break;
case '\005': /* ^E */
- if (nextchar == '\0') {
+ if (nextchar != '\0') {
+ if (strEQ(remaining, "NCODING"))
+ sv_setsv(sv, PL_encoding);
+ }
+ else {
#if defined(VMS)
{
char msg[255];
SvRTRIM(sv);
SvNOK_on(sv); /* what a wonderful hack! */
}
- else if (strEQ(remaining, "NCODING"))
- sv_setsv(sv, PL_encoding);
break;
case '!':