diff options
| -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 | } |
