summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-06-13 19:17:50 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-06-13 19:17:50 +0000
commitf02c194e1a40f11d020685cd18b41e5261091b12 (patch)
tree37863ea19d4769893b861e11cb30b0215621246d /pp.c
parentcff1be36840a17022b50a6f295ed97efe19b975e (diff)
downloadperl-f02c194e1a40f11d020685cd18b41e5261091b12.tar.gz
Remove the deprecated $* variable.
Incidentally, this fixes bug #22354, about unwanted action-at-distance of the /m regexp modifier. Add a new warning to advertise this fact. p4raw-id: //depot/perl@19769
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp.c b/pp.c
index ef8a37db67..eccf7eb0c9 100644
--- a/pp.c
+++ b/pp.c
@@ -4553,7 +4553,7 @@ PP(pp_split)
s++;
}
}
- if (pm->op_pmflags & (PMf_MULTILINE|PMf_SINGLELINE)) {
+ if ((pm->op_pmflags & PMf_MULTILINE) != PL_multiline) {
SAVEINT(PL_multiline);
PL_multiline = pm->op_pmflags & PMf_MULTILINE;
}