summaryrefslogtreecommitdiffstats
path: root/lib/Nagios/Plugin.pm
diff options
context:
space:
mode:
authorTon Voon <tonvoon@macbook.local>2008-12-13 14:05:22 (GMT)
committerTon Voon <tonvoon@macbook.local>2008-12-13 14:05:22 (GMT)
commit7f33b6abe3b5e9ee14de2683f9412ac6641a2fcd (patch)
tree3fb9fad68782a1ecdf7ce1814a6b36ffa035145a /lib/Nagios/Plugin.pm
parent0907cdbca2ebcb775a0bbcae639e378e440cd738 (diff)
downloadmonitoring-plugin-perl-7f33b6abe3b5e9ee14de2683f9412ac6641a2fcd.tar.gz
Fixed parsing of numeric values with commas instead of periods. Fixed test plan
for CPAN test failures of 0.29. Change to parse_perfstring to return back successfully parsed fields, rather than an empty field, when errors seen
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 eb3ccdc..2c9099f 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.29"; 28our $VERSION = "0.30";
29 29
30sub new { 30sub new {
31 my $class = shift; 31 my $class = shift;