OK, was able to get my solution working by calling the clear warnings with its full name: &Test::NoWarnings::clear_warnings.
However, this does seem convoluted. Perhaps there is a better way?
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks
In reply to Re: Suppressing desired warnings from output of Test::NoWarnings
by nysus
in thread Suppressing desired warnings from output of Test::NoWarnings
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |