diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-11-21 13:16:56 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-11-21 13:16:56 -0800 |
commit | aeb94125fdbede01d51e414ee1086f5ac0c9b48e (patch) | |
tree | 2a76f31e0c3a849209bbdcbeb1a03342f536a1c3 | |
parent | 2dc1f7e58322925d055e5b2fb221751649cf358d (diff) | |
download | perl-aeb94125fdbede01d51e414ee1086f5ac0c9b48e.tar.gz |
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.
-rw-r--r-- | pod/perldiag.pod | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 624835e463..05d1365ef5 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -1470,9 +1470,9 @@ See L<perlsub/"Constant Functions"> and L<constant>. =item Constant subroutine %s redefined -(S) You redefined a subroutine which had previously been -eligible for inlining. See L<perlsub/"Constant Functions"> for -commentary and workarounds. +(W redefine)(S) You redefined a subroutine which had previously +been eligible for inlining. See L<perlsub/"Constant Functions"> +for commentary and workarounds. =item Constant subroutine %s undefined |