This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta for ee0832cea (lexical constant warnings)
authorFather Chrysostomos <sprout@cpan.org>
Sat, 15 Dec 2012 13:50:57 +0000 (05:50 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 15 Dec 2012 14:57:45 +0000 (06:57 -0800)
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.
 
 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
 =back
 
 =head1 Known Problems