From 4421aa3c2a695335cad006f32ece6c9c5da11165 Mon Sep 17 00:00:00 2001 From: Gavin Carr Date: Fri, 23 Mar 2007 05:28:33 +0000 Subject: Bump to version 0.17 to workaround cpan indexing stupidity. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1648 f882894a-f735-0410-b71e-b25c423dba1c --- lib/Nagios/Plugin.pm | 5 ++++- lib/Nagios/Plugin/Functions.pm | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'lib') 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); our @EXPORT = (@STATUS_CODES); our @EXPORT_OK = qw(%ERRORS); -our $VERSION = $Nagios::Plugin::Functions::VERSION; +# CPAN stupidly won't index this module without a literal $VERSION here, +# so we're forced to duplicate it explicitly +our $VERSION = 0.17; +# our $VERSION = $Nagios::Plugin::Functions::VERSION; sub new { my $class = shift; diff --git a/lib/Nagios/Plugin/Functions.pm b/lib/Nagios/Plugin/Functions.pm index eb44976..f750968 100644 --- a/lib/Nagios/Plugin/Functions.pm +++ b/lib/Nagios/Plugin/Functions.pm @@ -12,7 +12,7 @@ use Params::Validate qw(validate :types); use Math::Calc::Units; # Remember to update Nagios::Plugins as well -our $VERSION = "0.16"; +our $VERSION = 0.17; our @STATUS_CODES = qw(OK WARNING CRITICAL UNKNOWN DEPENDENT); -- cgit v1.2.3-74-g34f1