FindBin.pm on Win32 systems
[p5sagit/p5-mst-13.2.git] / pp_ctl.c
index 1cdf8be..a44f37f 100644 (file)
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -166,7 +166,8 @@ PP(pp_substcont)
        if (cx->sb_once || !CALLREGEXEC(rx, s, cx->sb_strend, orig,
                                     s == m, cx->sb_targ, NULL,
                                     ((cx->sb_rflags & REXEC_COPY_STR)
-                                     ? 0 : REXEC_COPY_STR)))
+                                     ? REXEC_IGNOREPOS 
+                                     : (REXEC_COPY_STR|REXEC_IGNOREPOS))))
        {
            SV *targ = cx->sb_targ;
            sv_catpvn(dstr, s, cx->sb_strend - s);