diff options
Diffstat (limited to 'lib/Nagios/Plugin.pm')
-rw-r--r-- | lib/Nagios/Plugin.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Nagios/Plugin.pm b/lib/Nagios/Plugin.pm index b063e4c..459e6bb 100644 --- a/lib/Nagios/Plugin.pm +++ b/lib/Nagios/Plugin.pm | |||
@@ -22,7 +22,10 @@ our @ISA = qw(Exporter); | |||
22 | our @EXPORT = (@STATUS_CODES); | 22 | our @EXPORT = (@STATUS_CODES); |
23 | our @EXPORT_OK = qw(%ERRORS); | 23 | our @EXPORT_OK = qw(%ERRORS); |
24 | 24 | ||
25 | our $VERSION = $Nagios::Plugin::Functions::VERSION; | 25 | # CPAN stupidly won't index this module without a literal $VERSION here, |
26 | # so we're forced to duplicate it explicitly | ||
27 | our $VERSION = 0.17; | ||
28 | # our $VERSION = $Nagios::Plugin::Functions::VERSION; | ||
26 | 29 | ||
27 | sub new { | 30 | sub new { |
28 | my $class = shift; | 31 | my $class = shift; |