This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta: proto mismatch warnings
authorFather Chrysostomos <sprout@cpan.org>
Sun, 29 Jul 2012 06:54:16 +0000 (23:54 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 29 Jul 2012 07:14:06 +0000 (00:14 -0700)
pod/perldelta.pod

index 4bb2603..cbc6313 100644 (file)
@@ -388,6 +388,16 @@ longer cause double frees or panic messages.
 C<s///> now turns vstrings into plain strings when performing a
 substitution, even if the resulting string is the same (C<s/a/a/>).
 
+=item *
+
+Prototype mismatch warnings no longer erroneously treat constant subs as
+having no prototype when they actually have "".
+
+=item *
+
+Constant subroutines and forward declarations no longer prevent prototype
+mismatch warnings from omitting the sub name.
+
 =back
 
 =head1 Known Problems