This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldiag: constant redef warning is not always default
authorFather Chrysostomos <sprout@cpan.org>
Mon, 21 Nov 2011 21:16:56 +0000 (13:16 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 21 Nov 2011 21:16:56 +0000 (13:16 -0800)
commitaeb94125fdbede01d51e414ee1086f5ac0c9b48e
tree2a76f31e0c3a849209bbdcbeb1a03342f536a1c3
parent2dc1f7e58322925d055e5b2fb221751649cf358d
perldiag: constant redef warning is not always default

If the value of the new constant is the same as the old, this warning
only occurs under ‘use warnings 'redefine'’ and $^W=1, not under $^W=0
outside of any warnings scope.
pod/perldiag.pod