squelch warning in Author.PL
[p5sagit/Module-Metadata.git] / Author.PL
index f4b55a3..c2f52d9 100644 (file)
--- 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';
   }