summaryrefslogtreecommitdiffstats
path: root/lib/Nagios/Plugin.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Nagios/Plugin.pm')
-rw-r--r--lib/Nagios/Plugin.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Nagios/Plugin.pm b/lib/Nagios/Plugin.pm
index 41bff91..5ff6709 100644
--- a/lib/Nagios/Plugin.pm
+++ b/lib/Nagios/Plugin.pm
@@ -11,7 +11,7 @@ struct "Nagios::__::Plugin" => {
11 11
12package Nagios::Plugin; 12package Nagios::Plugin;
13 13
14use Nagios::Plugin::Base; 14use Nagios::Plugin::Functions;
15use Nagios::Plugin::Performance; 15use Nagios::Plugin::Performance;
16use Nagios::Plugin::Threshold; 16use Nagios::Plugin::Threshold;
17 17
@@ -24,7 +24,7 @@ use Exporter;
24our @ISA = qw(Exporter Nagios::__::Plugin); 24our @ISA = qw(Exporter Nagios::__::Plugin);
25our @EXPORT_OK = qw(%ERRORS); 25our @EXPORT_OK = qw(%ERRORS);
26 26
27our $VERSION = $Nagios::Plugin::Base::VERSION; 27our $VERSION = $Nagios::Plugin::Functions::VERSION;
28 28
29sub add_perfdata { 29sub add_perfdata {
30 my ($self, %args) = @_; 30 my ($self, %args) = @_;
@@ -41,7 +41,7 @@ sub set_thresholds { shift; Nagios::Plugin::Threshold->set_thresholds(@_); }
41 41
42sub die { 42sub die {
43 my $self = shift; 43 my $self = shift;
44 Nagios::Plugin::Base::die(@_, { plugin => $self }); 44 Nagios::Plugin::Functions::die(@_, { plugin => $self });
45} 45}
46 46
471; 471;