+ - Exclude vendorarch and sitearch from FatNode and ModuleSender
- Increase default timeout to 10 seconds
- Add Class::C3 as a dependency since it's required for 5.8 remote nodes
- SSH options as a separate argument for the SSH connector
-mMethod::Generate::BuildAll
-mMethod::Generate::DemolishAll
-mJSON::PP
- -e 'print join "\\n", reverse \%INC'
+ -e 'print join "\\n", \%INC'
);
$command =~ s/\n/ /g;
-chomp(my %mods = qx($command));
+chomp(my @inc = qx($command));
+
+my %mods = reverse @inc;
my @non_core_non_arch = grep +(
- not (/^\Q$Config{privlibexp}/ or /^\Q$Config{archlibexp}/)
-), grep !/\Q$Config{archname}/, grep !/\W$Config{myarchname}/, keys %mods;
+ not (
+ /^\Q$Config{privlibexp}/ or /^\Q$Config{archlibexp}/
+ or /^\Q$Config{vendorarchexp}/ or /^\Q$Config{sitearchexp}/
+ )
+), grep !/\Q$Config{archname}/, grep !/\Q$Config{myarchname}/, keys %mods;
my $start = stripspace <<'END_START';
# This chunk of stuff was generated by Object::Remote::FatNode. To find
has dir_list => (is => 'lazy');
sub _build_dir_list {
- my %core = map +($_ => 1), @Config{qw(privlibexp archlibexp)};
- [ grep !/$Config{archname}$/, grep !$core{$_}, @INC ];
+ my %core = map +($_ => 1), grep $_, @Config{
+ qw(privlibexp archlibexp vendorarchexp sitearchexp)
+ };
+ [ grep !/\Q$Config{archname}/, grep !/\Q$Config{myarchname}/, grep !$core{$_}, @INC ];
}
sub source_for {