diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2006-09-26 08:09:13 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2006-09-26 08:09:13 +0000 |
commit | 4fed68aacd776c465eca06e943b26c288ec4b16b (patch) | |
tree | 34a1cf36cbe24133c9415e9e164ca60efb9681e0 | |
parent | e574c6e1d997130d1afbf752111cdd642f5672bd (diff) | |
download | monitoring-plugin-perl-4fed68aacd776c465eca06e943b26c288ec4b16b.tar.gz |
Added requisite of Class::Accessor to Makefile.PL. Fixed compile problem
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1485 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r-- | Makefile.PL | 1 | ||||
-rw-r--r-- | lib/Nagios/Plugin.pm | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.PL b/Makefile.PL index 2d45e43..4c397f1 100644 --- a/Makefile.PL +++ b/Makefile.PL | |||
@@ -8,6 +8,7 @@ WriteMakefile( | |||
8 | PREREQ_PM => { | 8 | PREREQ_PM => { |
9 | Class::Struct => 0, | 9 | Class::Struct => 0, |
10 | Params::Validate => 0.24, | 10 | Params::Validate => 0.24, |
11 | Class::Accessor => 0.22, | ||
11 | }, # e.g., Module::Name => 1.1 | 12 | }, # e.g., Module::Name => 1.1 |
12 | ($] >= 5.005 ? ## Add these new keywords supported since 5.005 | 13 | ($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
13 | (ABSTRACT_FROM => 'lib/Nagios/Plugin.pm', # retrieve abstract from module | 14 | (ABSTRACT_FROM => 'lib/Nagios/Plugin.pm', # retrieve abstract from module |
diff --git a/lib/Nagios/Plugin.pm b/lib/Nagios/Plugin.pm index 025880d..e6c0c04 100644 --- a/lib/Nagios/Plugin.pm +++ b/lib/Nagios/Plugin.pm | |||
@@ -93,7 +93,7 @@ sub check_messages { | |||
93 | else { | 93 | else { |
94 | $args{$code} = $messages; | 94 | $args{$code} = $messages; |
95 | } | 95 | } |
96 | 96 | } | |
97 | 97 | ||
98 | Nagios::Plugin::Functions::check_messages(%args); | 98 | Nagios::Plugin::Functions::check_messages(%args); |
99 | } | 99 | } |