diff options
author | Abigail <abigail@abigail.be> | 2016-11-18 14:52:18 +0100 |
---|---|---|
committer | Abigail <abigail@abigail.be> | 2017-01-16 19:18:12 +0100 |
commit | d8940893299cd62dcdb1164f85c67ac6279f10b5 (patch) | |
tree | 25ec6e8c5d52a5cb4fa281a1a2c4317334504185 /t/lib/warnings/9uninit | |
parent | 122d6c09702a0437a06efd713ba57d17175289bb (diff) | |
download | perl-d8940893299cd62dcdb1164f85c67ac6279f10b5.tar.gz |
$/ = \-1 will be fatal in Perl 5.28.
Setting $/ to a reference of a non-positive integer has been deprecated
since 5.20, in which it was special cased to act like you had set to
$/ to undef.
In Perl 5.28, setting $/ to a reference to a non-positive integer will
be a fatal error.
Diffstat (limited to 't/lib/warnings/9uninit')
-rw-r--r-- | t/lib/warnings/9uninit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/lib/warnings/9uninit b/t/lib/warnings/9uninit index 77a93ced69..1dc71397b6 100644 --- a/t/lib/warnings/9uninit +++ b/t/lib/warnings/9uninit @@ -411,7 +411,7 @@ chomp ($x, $y); chop ($x, $y); EXPECT Use of uninitialized value $m1 in scalar assignment at - line 4. Use of uninitialized value $m1 in scalar assignment at - line 4. -Setting $/ to a reference to zero as a form of slurp is deprecated, treating as undef at - line 4. +Setting $/ to a reference to zero as a form of slurp is deprecated, treating as undef. This will be fatal in Perl 5.28 at - line 4. Use of uninitialized value $y in chop at - line 8. ######## use warnings 'uninitialized'; |