diff options
author | Ton Voon <tonvoon@macbook.local> | 2009-01-05 22:24:44 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@macbook.local> | 2009-01-05 22:24:44 +0000 |
commit | 67a45638154221708da7f92451143475bdc229ac (patch) | |
tree | 65917e7a12893ca1df3ea446864169d6c6076747 /lib/Nagios/Plugin.pm | |
parent | 91047f17af0454e94fbd30615f4a6959a593f48e (diff) | |
download | monitoring-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.pm | 2 |
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 |
28 | our $VERSION = "0.30"; | 28 | our $VERSION = "0.31"; |
29 | 29 | ||
30 | sub new { | 30 | sub new { |
31 | my $class = shift; | 31 | my $class = shift; |