X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FApp%2FFatPacker.pm;h=339cd3646b5a06aaad2e89ad7fb61cacaf69dd7e;hb=adbf9a6a145b389db67ba9683738d8540e68c43e;hp=6924eb2d2351381065f27aa45b6e8750175f4a5f;hpb=a73e80c4ab6f49233cc2009b17cc757ca1fd5f2c;p=p5sagit%2FApp-FatPacker.git diff --git a/lib/App/FatPacker.pm b/lib/App/FatPacker.pm index 6924eb2..339cd36 100644 --- a/lib/App/FatPacker.pm +++ b/lib/App/FatPacker.pm @@ -14,7 +14,7 @@ use File::Copy qw(copy); use File::Path qw(mkpath rmtree); use B qw(perlstring); -our $VERSION = '0.010000'; # 0.10.0 +our $VERSION = '0.010003'; # 0.10.3 $VERSION = eval $VERSION; @@ -143,8 +143,11 @@ sub script_command_packlists_for { sub packlists_containing { my ($self, $targets) = @_; my @targets = @$targets; - foreach my $t (@targets) { - require $t; + { + local @INC = ('lib', @INC); + foreach my $t (@targets) { + require $t; + } } my @search = grep -d $_, map catdir($_, 'auto'), @INC; my %pack_rev;