diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1999-08-05 10:31:47 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-08-05 10:31:47 +0000 |
commit | 0e8f60dd43c9e8276bfd6598ee62ebf70fa0c631 (patch) | |
tree | e85b6674dce4252d6d16d3ce6f42759517898abd /pp.c | |
parent | 46a8fef3c29368ecca588145570275c3556984b0 (diff) | |
download | perl-0e8f60dd43c9e8276bfd6598ee62ebf70fa0c631.tar.gz |
split /^/ deprecation warning should not be on by default.
p4raw-id: //depot/cfgperl@3925
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5010,7 +5010,7 @@ PP(pp_split) else if (rx->prelen == 1 && *rx->precomp == '^') { if (!(pm->op_pmflags & PMf_MULTILINE) && !(pm->op_pmregexp->reganch & ROPT_WARNED)) { - if (ckWARN_d(WARN_DEPRECATED)) + if (ckWARN(WARN_DEPRECATED)) Perl_warner(aTHX_ WARN_DEPRECATED, "split /^/ better written as split /^/m"); pm->op_pmregexp->reganch |= ROPT_WARNED; |