diff --git a/parts/inc/misc b/parts/inc/misc index 59c326a..e41c673 100644 --- a/parts/inc/misc +++ b/parts/inc/misc @@ -496,6 +496,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"); diff --git a/cpan/Devel-PPPort/t/misc.t b/cpan/Devel-PPPort/t/misc.t index 9dcc565..f74a9df 100644 --- a/t/misc.t +++ b/t/misc.t @@ -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");