This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta for ee0832cea (lexical constant warnings)
[perl5.git] / pod / perldelta.pod
index 0fb66a8..9c8adf0 100644 (file)
@@ -407,6 +407,11 @@ syntax errors.
 Lexical constants (C<my sub answer () { 42 }>) no longer cause double
 frees.
 
+=item *
+
+Constant subroutine redefinition warns by default, but lexical constants
+were accidentally exempt from default warnings.  This has been corrected.
+
 =back
 
 =head1 Known Problems