From: Graham Knop Date: Sat, 2 Nov 2019 18:28:44 +0000 (+0100) Subject: add Devel::GlobalDestruction to fatnode X-Git-Tag: v0.004001~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6845582fdc45bc6623a7f79a8d80ef650c37a3e8;p=scpubgit%2FObject-Remote.git add Devel::GlobalDestruction to fatnode Devel::GlobalDestruction is required by Moo on older perl versions, add it to the fatnode to ensure it is always available. --- diff --git a/Makefile.PL b/Makefile.PL index 064303a..ea296b8 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -14,6 +14,7 @@ WriteMakefile( 'Future' => 0.29, 'MRO::Compat' => 0, # required to fatpack Moo 'Class::C3' => 0, # required to fatpack Moo + 'Devel::GlobalDestruction' => 0, # required to fatpack Moo 'String::ShellQuote' => 0, # required for ssh argument manipulation 'Log::Contextual' => 0.005000, strictures => 2, diff --git a/lib/Object/Remote/FatNode.pm b/lib/Object/Remote/FatNode.pm index 8b143b8..cafc47e 100644 --- a/lib/Object/Remote/FatNode.pm +++ b/lib/Object/Remote/FatNode.pm @@ -39,6 +39,7 @@ my $command = qq( -mMethod::Generate::DemolishAll -mMoo::HandleMoose::_TypeMap -mJSON::PP + -mDevel::GlobalDestruction -e 'print join "\\n", \%INC' );