This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Disable by default the new Copy-on-Write for 5.18
[perl5.git] / doio.c
diff --git a/doio.c b/doio.c
index 1cc0e41..795d138 100644 (file)
--- a/doio.c
+++ b/doio.c
@@ -1499,7 +1499,7 @@ Perl_do_exec3(pTHX_ const char *incmd, int fd, int do_report)
        goto doshell;
 
     s = cmd;
-    while (isALNUM(*s))
+    while (isWORDCHAR(*s))
        s++;    /* catch VAR=val gizmo */
     if (*s == '=')
        goto doshell;