From: Graham Knop Date: Sun, 16 Oct 2016 11:20:35 +0000 (-0400) Subject: avoid needing . in @INC in dev mode X-Git-Tag: v0.03~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FDevel-GlobalDestruction-XS.git;a=commitdiff_plain;h=30f96d11048c416b78ca0243b4edc41b7f49a3ee avoid needing . in @INC in dev mode --- diff --git a/Makefile.PL b/Makefile.PL index ebf2cfa..5ee5fdf 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,9 +1,6 @@ use strict; use warnings FATAL => 'all'; use 5.006; -use ExtUtils::MakeMaker; - -(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml'; my %META = ( name => 'Devel-GlobalDestruction-XS', @@ -30,7 +27,7 @@ my %MM_ARGS = (); ## BOILERPLATE ############################################################### require ExtUtils::MakeMaker; -(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml'; +(do './maint/Makefile.PL.include' or die $@) unless -f 'META.yml'; # have to do this since old EUMM dev releases miss the eval $VERSION line my $eumm_version = eval $ExtUtils::MakeMaker::VERSION;