X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FApp%2FFatPacker.pm;h=33a1f955e865bbfaa8377006fa278df7e6b2ec7c;hb=a976705b258644247534f58f1dba0318f62bbdbc;hp=a6585ccd384eceace746923a8820a4a74aaf1926;hpb=69667cc81452c69c9c68779adf8127266cb836a3;p=p5sagit%2FApp-FatPacker.git diff --git a/lib/App/FatPacker.pm b/lib/App/FatPacker.pm index a6585cc..33a1f95 100644 --- a/lib/App/FatPacker.pm +++ b/lib/App/FatPacker.pm @@ -13,7 +13,7 @@ use File::Copy qw(copy); use File::Path qw(mkpath rmtree); use B qw(perlstring); -our $VERSION = '0.009006'; # 0.9.6 +our $VERSION = '0.009007'; # 0.9.7 $VERSION = eval $VERSION; @@ -133,7 +133,9 @@ sub script_command_packlists_for { sub packlists_containing { my ($self, $targets) = @_; my @targets = @$targets; - require $_ for @targets; + foreach my $t (@targets) { + require $t; + } my @search = grep -d $_, map catdir($_, 'auto'), @INC; my %pack_rev; my $cwd = cwd;