From: Tyler Riddle Date: Thu, 31 Jan 2013 20:29:59 +0000 (-0800) Subject: fix broken white listing of Devel:GlobalDestruction X-Git-Tag: v0.003001_01~10 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FObject-Remote.git;a=commitdiff_plain;h=5e850e3ea90044b25ffacd71483a8edd326af21d fix broken white listing of Devel:GlobalDestruction --- diff --git a/lib/Object/Remote/FatNode.pm b/lib/Object/Remote/FatNode.pm index c82d6a3..819d657 100644 --- a/lib/Object/Remote/FatNode.pm +++ b/lib/Object/Remote/FatNode.pm @@ -44,6 +44,7 @@ chomp(my @inc = qx($command)); my %exclude = map { $_ => 1 } @exclude_mods; my %mods = reverse @inc; +my %file_names = @inc; foreach(keys(%mods)) { if ($exclude{ $mods{$_} }) { @@ -51,7 +52,7 @@ foreach(keys(%mods)) { } } -my @non_core_non_arch = ( $mods{'Devel/GlobalDestruction.pm'} ); +my @non_core_non_arch = ( $file_names{'Devel/GlobalDestruction.pm'} ); push @non_core_non_arch, grep +( not ( #some of the config variables can be empty which will eval as a matching regex