Suppress deprec. warning from Devel::PPPort’s tests
authorFather Chrysostomos <sprout@cpan.org>
Sun, 9 Dec 2012 02:38:46 +0000 (18:38 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 9 Dec 2012 02:46:55 +0000 (18:46 -0800)
This has already been submitted to
<https://rt.cpan.org/Ticket/Display.html?id=81796>.

cpan/Devel-PPPort/t/misc.t

index 9dcc565..f74a9df 100644 (file)
@@ -59,6 +59,7 @@ ok(&Devel::PPPort::UNDERBAR(), "Fred");
 
 if ($] >= 5.009002) {
   eval q{
+    no warnings "deprecated";
     my $_ = "Tony";
     ok(&Devel::PPPort::DEFSV(), "Fred");
     ok(&Devel::PPPort::UNDERBAR(), "Tony");