[Nagiosplug-devel] N::P bug in handling >2 repeated arguments from .ini config
Gavin Carr
gavin at openfusion.com.au
Sun Nov 18 10:57:09 CET 2007
On Sat, Nov 17, 2007 at 01:43:52AM -0500, Thomas Guyot-Sionnest wrote:
> While we're at it, what would you think of including Time::HiRes in the
> dependencies? Although not a direct dependency I find most of my N::P
> plugins use it to calculate precise runtime, so having it included would
> avoid the need to specify this requirement.
I'd be against adding anything that's not a direct dependency.
If you really want this as a convenience, you could just subclass N::P
and add it in e.g.
package Local::Nagios::Plugin;
use base qw(Nagios::Plugin);
use Time::HiRes;
# Other local useful stuff
1;
Cheers,
Gavin
More information about the Devel
mailing list