summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorAbigail <abigail@abigail.be>2017-01-14 02:30:49 +0100
committerAbigail <abigail@abigail.be>2017-01-16 19:18:15 +0100
commitc437f7ac8463f610ccc01a2df0ad2287742d3edd (patch)
treebb6f581620dea393a7df2d8896f4bc3fc09f1158 /op.c
parent30b17cc1e1a4683734a35a2fc7416f1ef34f4e5d (diff)
downloadperl-c437f7ac8463f610ccc01a2df0ad2287742d3edd.tar.gz
my() in a false conditional will be fatal in Perl 5.30
Diffstat (limited to 'op.c')
-rw-r--r--op.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/op.c b/op.c
index c213bb684f..2c4935ec81 100644
--- a/op.c
+++ b/op.c
@@ -6974,7 +6974,8 @@ S_new_logop(pTHX_ I32 type, I32 flags, OP** firstp, OP** otherp)
&& !(o2->op_private & OPpPAD_STATE))
{
Perl_ck_warner_d(aTHX_ packWARN(WARN_DEPRECATED),
- "Deprecated use of my() in false conditional");
+ "Deprecated use of my() in false conditional. "
+ "This will be a fatal error in Perl 5.30");
}
*otherp = NULL;