[Nagiosplug-devel] N::P not exporting max_state?
Gavin Carr
gavin at openfusion.com.au
Sun Sep 23 05:15:29 CEST 2007
On Sat, Sep 22, 2007 at 09:01:08PM -0400, Thomas Guyot-Sionnest wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I think N::P should export max_state, which would avoid having to load
> N::P::Functions to use that function. Any objections I commit the
> following patch? (Please review as I have very little knowledge of Perl
> module programming).
No, it shouldn't. N::P is an OO-interface. You should use N::P::Functions
directly if you want to get it imported, and doing so is fine.
The docs should probably be more explicit about that.
Cheers,
Gavin
More information about the Devel
mailing list