X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=964ce6b6eac652e040a0b0ad890b6ae05ead5c93;hb=3f9e067ca892ae2b896de150dd22973de622dd1e;hp=87ef0ad36779c3cb97ed7196b6a71ba77da7551e;hpb=3b7ac9b84562abb7046ed75d385a89140dce22a3;p=catagits%2FCatalyst-Devel.git diff --git a/Makefile.PL b/Makefile.PL index 87ef0ad..964ce6b 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,6 +1,7 @@ use strict; use warnings; use lib '.'; +use lib 'inc'; use inc::Module::Install 0.91; use Module::Install::AuthorRequires; use Module::Install::AuthorTests; @@ -37,9 +38,7 @@ if (!$Module::Install::AUTHOR && $^O ne 'MSWin32') { # it in its inc/ directory for releases. requires 'Module::Install' => '1.02'; -author_requires 'IPC::Run3'; -author_requires 'Module::Info'; -author_requires 'File::Find::Rule'; +author_requires 'Proc::Background'; author_requires 'Test::Pod'; author_requires 'Test::Pod::Coverage'; @@ -54,9 +53,9 @@ if (!$ENV{CATALYST_DEVEL_NO_510_CHECK}) { use Symbol 'gensym'; use IPC::Open3; use File::Spec; - open NULL, '>', File::Spec->devnull; + open my $null, '>', File::Spec->devnull; my $err = gensym; - my $pid = open3(gensym, '&>NULL', $err, "$^X -It/lib -MUnknownError -e 1"); + my $pid = open3(gensym, $null, $err, qq{"$^X" -It/lib -MUnknownError -e 1}); my $unknown_error = 0;