From: plobbes Date: Mon, 22 Jan 2007 06:54:53 +0000 (+0000) Subject: - minor updates, will now add ABSTRACT_FROM if using Perl >= 5.005 X-Git-Tag: BUSINESS_ONLINEPAYMENT_PAYFLOWPRO_0_05~1 X-Git-Url: http://git.freeside.biz/gitweb/?p=Business-OnlinePayment-PayflowPro.git;a=commitdiff_plain;h=dbbbea2b380a0cde8cf421f0c27dd5590fd18962 - minor updates, will now add ABSTRACT_FROM if using Perl >= 5.005 --- diff --git a/Makefile.PL b/Makefile.PL index c624b4b..cbb225f 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,12 +1,21 @@ use ExtUtils::MakeMaker; + # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. WriteMakefile( - 'NAME' => 'Business::OnlinePayment::PayflowPro', - 'VERSION_FROM' => 'PayflowPro.pm', # finds $VERSION - 'AUTHOR' => 'Ivan Kohler ', - 'PREREQ_PM' => { 'Business::OnlinePayment' => 0, - 'PFProAPI' => 0, - }, - #'NORECURS' => 1, # dont descend into subdirectories + NAME => 'Business::OnlinePayment::PayflowPro', + VERSION_FROM => 'PayflowPro.pm', + PREREQ_PM => { + Business::OnlinePayment => 0, + PFProAPI => 0, + }, + ( + $] >= 5.005 + ? ## Add these new keywords supported since 5.005 + ( + ABSTRACT_FROM => 'PayflowPro.pm', + AUTHOR => 'Ivan Kohler ' + ) + : () + ), );