diff options
author | Gavin Carr <gonzai@users.sourceforge.net> | 2006-09-26 01:10:23 +0000 |
---|---|---|
committer | Gavin Carr <gonzai@users.sourceforge.net> | 2006-09-26 01:10:23 +0000 |
commit | e548a22a92b3aa345f4a952fddb39cc693c35a70 (patch) | |
tree | 606e3872d3070a90b5fa9881303eddb59efc8bbd /lib/Nagios/Plugin/ExitResult.pm | |
parent | d8f912e8f5abb1476366cfea6e0fb368a9669ec4 (diff) | |
download | monitoring-plugin-perl-e548a22a92b3aa345f4a952fddb39cc693c35a70.tar.gz |
Rename NP::Base to NP::Functions; add check_messages() to NP::Functions.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1482 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'lib/Nagios/Plugin/ExitResult.pm')
-rw-r--r-- | lib/Nagios/Plugin/ExitResult.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Nagios/Plugin/ExitResult.pm b/lib/Nagios/Plugin/ExitResult.pm index f059424..191c92a 100644 --- a/lib/Nagios/Plugin/ExitResult.pm +++ b/lib/Nagios/Plugin/ExitResult.pm | |||
@@ -30,10 +30,10 @@ return codes when testing. | |||
30 | =head1 SYNOPSIS | 30 | =head1 SYNOPSIS |
31 | 31 | ||
32 | use Test::More; | 32 | use Test::More; |
33 | use Nagios::Plugin::Base; | 33 | use Nagios::Plugin::Functions; |
34 | 34 | ||
35 | # In a test file somewhere | 35 | # In a test file somewhere |
36 | Nagios::Plugin::Base::_fake_exit(1); | 36 | Nagios::Plugin::Functions::_fake_exit(1); |
37 | 37 | ||
38 | # Later ... | 38 | # Later ... |
39 | $e = nagios_exit( CRITICAL, 'aiiii ...' ); | 39 | $e = nagios_exit( CRITICAL, 'aiiii ...' ); |
@@ -50,7 +50,7 @@ return codes when testing. | |||
50 | Nagios::Plugin::ExitResult is a tiny helper class intended for use | 50 | Nagios::Plugin::ExitResult is a tiny helper class intended for use |
51 | when testing other Nagios::Plugin modules. A Nagios::Plugin::ExitResult | 51 | when testing other Nagios::Plugin modules. A Nagios::Plugin::ExitResult |
52 | object is returned by nagios_exit() and friends when | 52 | object is returned by nagios_exit() and friends when |
53 | Nagios::Plugin::Base::_fake_exit has been set, instead of doing a | 53 | Nagios::Plugin::Functions::_fake_exit has been set, instead of doing a |
54 | conventional print + exit. | 54 | conventional print + exit. |
55 | 55 | ||
56 | =head1 AUTHOR | 56 | =head1 AUTHOR |