Until about 5 minutes ago, MakeMaker contained code to supress common
warnings when building a Makefile.
sub warnhandler {
$_[0] =~ /^Use of uninitialized value/ && return;
$_[0] =~ /used only once/ && return;
$_[0] =~ /^Subroutine\s+[\w:]+\s+redefined/ && return;
warn @_;
}
sub WriteMakefile {
Carp::croak "WriteMakefile: Need even number of args" if @_ % 2;
local $SIG{__WARN__} = \&warnhandler;
...
}
This is now gone. I don't like the idea of carte blanche warning
supression. A few bits of code have been tidied up, and some
selective 'no warnings "blah"' put in place where necessary (like in
mv_all_methods).
You might see some warnings popping up where they didn't before. Let
me know.
--
Michael G. Schwern <[EMAIL PROTECTED]> http://www.pobox.com/~schwern/
Perl Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One
Still not king