diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1999-08-31 08:57:35 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-08-31 08:57:35 +0000 |
commit | f4091fba1bacbb614fefc0a1a724a1f71a8d9e2e (patch) | |
tree | 0398b3b1d44a6f20998fcab1ed8f55e901185bee /pp.c | |
parent | aa32913f3abc1e07f8a5bdb31411f65d1fdbcf6f (diff) | |
download | perl-f4091fba1bacbb614fefc0a1a724a1f71a8d9e2e.tar.gz |
For some odd reason #4056 didn't undo #3922 completely.
p4raw-id: //depot/cfgperl@4058
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -4977,14 +4977,7 @@ PP(pp_split) ++s; } } - else if (rx->prelen == 1 && *rx->precomp == '^') { - if (!(pm->op_pmflags & PMf_MULTILINE) - && !(pm->op_pmregexp->reganch & ROPT_WARNED)) { - if (ckWARN(WARN_DEPRECATED)) - Perl_warner(aTHX_ WARN_DEPRECATED, - "split /^/ better written as split /^/m"); - pm->op_pmregexp->reganch |= ROPT_WARNED; - } + else if (strEQ("^", rx->precomp)) { while (--limit) { /*SUPPRESS 530*/ for (m = s; m < strend && *m != '\n'; m++) ; |