From 4fed68aacd776c465eca06e943b26c288ec4b16b Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Tue, 26 Sep 2006 08:09:13 +0000 Subject: 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 diff --git a/Makefile.PL b/Makefile.PL index 2d45e43..4c397f1 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -8,6 +8,7 @@ WriteMakefile( PREREQ_PM => { Class::Struct => 0, Params::Validate => 0.24, + Class::Accessor => 0.22, }, # e.g., Module::Name => 1.1 ($] >= 5.005 ? ## Add these new keywords supported since 5.005 (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 { else { $args{$code} = $messages; } - + } Nagios::Plugin::Functions::check_messages(%args); } -- cgit v0.10-9-g596f