]> git.imager.perl.org - imager.git/blobdiff - CountColor/Makefile.PL
document polygon() change
[imager.git] / CountColor / Makefile.PL
index 908937a6f8c3f04df5f157b08b93dbb205fd56a2..785ca8808993062c87be7de3cb811f4807179f04 100644 (file)
@@ -1,5 +1,6 @@
+#!perl -w
+use strict;
 use ExtUtils::MakeMaker;
 use ExtUtils::MakeMaker;
-require "../metafile.pl";
 
 my %opts = 
   (
 
 my %opts = 
   (
@@ -8,8 +9,9 @@ my %opts =
    OBJECT => 'CountColor.o',
    INC => '-I..',
   );
    OBJECT => 'CountColor.o',
    INC => '-I..',
   );
-if ($ExtUtils::MakeMaker::VERSION > 6.06) {
-  $opts{AUTHOR} = 'Tony Cook <tony@imager.perl.org>';
+my $MM_ver = eval $ExtUtils::MakeMaker::VERSION;
+if ($MM_ver > 6.06) {
+  $opts{AUTHOR} = 'Tony Cook <tonyc@cpan.org>';
   $opts{ABSTRACT} = 'Color Count an Imager image';
 }
 
   $opts{ABSTRACT} = 'Color Count an Imager image';
 }