Revision history for App-FatPacker
+ - include 'lib' in @INC for packlists_containing's require() calls
+
0.010000 - 2013-11-27
- use object for @INC hook instead of subref, including a 'files' method to
return a list of files provided
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;