Subject: | Runtime warning: Pod::POM::ERROR used only once |
Date: | Mon, 28 Jul 2014 04:43:57 -0400 |
To: | bug-Pod-POM [...] rt.cpan.org |
From: | "Daniel Macks" <dmacks [...] netspace.org> |
Running podlint from Pod-POM-0.29 gives a diagnostic:
Name "Pod::POM::ERROR" used only once: possible typo at /sw/bin/podlint line 19.
t/wrap.t already has logic to overcome this apparently intended use:
{
no warnings 'once'; # $Pod::POM::ERROR is only used once
Pod::POM->default_view('Pod::POM::View::Text')
|| die "$Pod::POM::ERROR\n";
}
so that same solution could/should be applied to the bin/* scripts. See attached patch, which we are now using in fink.
dan
--
Daniel Macks
dmacks@netspace.org
Message body is not shown because sender requested not to inline it.