This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldiag: Make Constant(%s) messages match reality
authorFather Chrysostomos <sprout@cpan.org>
Fri, 7 Dec 2012 04:24:34 +0000 (20:24 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 9 Dec 2012 02:46:51 +0000 (18:46 -0800)
commite21e7c6ab6af8471392d97efd339f2bd51a74b45
tree738d6e0fb9dfc651f7790c1810a215662b5de7d7
parent9e3ec65c53bb454ad2eda11175b694251f64f980
perldiag: Make Constant(%s) messages match reality

We no longer have an ‘in regex’ variant (if we ever did).

The Constant(%s)%s: %s represents three specific warnings, one of
which doesn’t have the colon any more.  It’s clearer if we list all
three, especially since the one about returning undef can acciden-
tally happen with ‘normal’ code (as opposed to code that fiddles with
%^H entries it shouldn’t be touching).
pod/perldiag.pod