This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta for bb4784f00 (Constant(undef))
authorFather Chrysostomos <sprout@cpan.org>
Sat, 15 Dec 2012 14:45:57 +0000 (06:45 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 15 Dec 2012 14:57:49 +0000 (06:57 -0800)
pod/perldelta.pod

index c71c5f6..e2adef7 100644 (file)
@@ -278,7 +278,11 @@ XXX Changes (i.e. rewording) of diagnostic messages go here
 
 =item *
 
-XXX Describe change here
+L<Constant(%s): Call to &{$^H{%s}} did not return a defined value|perldiag/Constant(%s): Call to &{$^H{%s}} did not return a defined value>
+
+Constant overloading that returns C<undef> results in this error message.
+For numeric constants, it used to say "Constant(undef)".  "undef" has been
+replaced with the number itself. 
 
 =back