This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
$/ = \-1 will be fatal in Perl 5.28.
authorAbigail <abigail@abigail.be>
Fri, 18 Nov 2016 13:52:18 +0000 (14:52 +0100)
committerAbigail <abigail@abigail.be>
Mon, 16 Jan 2017 18:18:12 +0000 (19:18 +0100)
commitd8940893299cd62dcdb1164f85c67ac6279f10b5
tree25ec6e8c5d52a5cb4fa281a1a2c4317334504185
parent122d6c09702a0437a06efd713ba57d17175289bb
$/ = \-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.
mg.c
pod/perldeprecation.pod
pod/perldiag.pod
t/lib/warnings/9uninit
t/lib/warnings/mg