summaryrefslogtreecommitdiffstats
path: root/lib/Nagios/Plugin.pm
diff options
context:
space:
mode:
authorTon Voon <tonvoon@macbook.local>2009-01-05 22:24:44 +0000
committerTon Voon <tonvoon@macbook.local>2009-01-05 22:24:44 +0000
commit67a45638154221708da7f92451143475bdc229ac (patch)
tree65917e7a12893ca1df3ea446864169d6c6076747 /lib/Nagios/Plugin.pm
parent91047f17af0454e94fbd30615f4a6959a593f48e (diff)
downloadmonitoring-plugin-perl-67a45638154221708da7f92451143475bdc229ac.tar.gz
Check for valid numerical value before returning perfdata object
Diffstat (limited to 'lib/Nagios/Plugin.pm')
-rw-r--r--lib/Nagios/Plugin.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Nagios/Plugin.pm b/lib/Nagios/Plugin.pm
index 2c9099f..b0b053d 100644
--- a/lib/Nagios/Plugin.pm
+++ b/lib/Nagios/Plugin.pm
@@ -25,7 +25,7 @@ our @EXPORT_OK = qw(%ERRORS);
25# CPAN stupidly won't index this module without a literal $VERSION here, 25# CPAN stupidly won't index this module without a literal $VERSION here,
26# so we're forced to duplicate it explicitly 26# so we're forced to duplicate it explicitly
27# Make sure you update $Nagios::Plugin::Functions::VERSION too 27# Make sure you update $Nagios::Plugin::Functions::VERSION too
28our $VERSION = "0.30"; 28our $VERSION = "0.31";
29 29
30sub new { 30sub new {
31 my $class = shift; 31 my $class = shift;