From: Matt S Trout Date: Tue, 6 Jul 2010 21:15:55 +0000 (+0100) Subject: squelch warning in Author.PL X-Git-Tag: release_1.0.0~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b98e2d466bff8a4c2c3ef8e29e661e620d92bbcc;p=p5sagit%2FModule-Metadata.git squelch warning in Author.PL --- diff --git a/Author.PL b/Author.PL index f4b55a3..c2f52d9 100644 --- a/Author.PL +++ b/Author.PL @@ -3,7 +3,9 @@ use warnings FATAL => 'all'; { package MY; - push @ExtUtils::MakeMaker::Overridable, 'find_tests'; + { + no warnings 'once'; push @ExtUtils::MakeMaker::Overridable, 'find_tests'; + } sub find_tests { shift->SUPER::find_tests.' xt/*.t'; }