X-Git-Url: http://git.imager.perl.org/imager.git/blobdiff_plain/92bda6321b472bb18726d950da8833b950abf4ee..d1d8320e239118f4f19e7b53cb1cb540a561fa45:/CountColor/Makefile.PL diff --git a/CountColor/Makefile.PL b/CountColor/Makefile.PL index 908937a6..785ca880 100644 --- a/CountColor/Makefile.PL +++ b/CountColor/Makefile.PL @@ -1,5 +1,6 @@ +#!perl -w +use strict; use ExtUtils::MakeMaker; -require "../metafile.pl"; my %opts = ( @@ -8,8 +9,9 @@ my %opts = OBJECT => 'CountColor.o', INC => '-I..', ); -if ($ExtUtils::MakeMaker::VERSION > 6.06) { - $opts{AUTHOR} = 'Tony Cook '; +my $MM_ver = eval $ExtUtils::MakeMaker::VERSION; +if ($MM_ver > 6.06) { + $opts{AUTHOR} = 'Tony Cook '; $opts{ABSTRACT} = 'Color Count an Imager image'; }