The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
Changes 1821
MANIFEST 11
META.json 33
META.yml 55
Makefile.PL 12
README 11
lib/App/FatPacker/Trace.pm 11
lib/App/FatPacker.pm 59
8 files changed (This is a version diff) 3543
@@ -1,5 +1,8 @@
 Revision history for App-FatPacker
 
+0.010001 - 2014-03-18
+  - 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
@@ -7,69 +10,69 @@ Revision history for App-FatPacker
     caller() now point directly to the right line in the script
     (RT#87118, DOLMEN)
 
-0.009018   2013-07-26
+0.009018 - 2013-07-26
   - deal with relative paths better by changing options passed to File::Find
     (RT#84414, miyagawa)
 
-0.009017   2013-05-29
+0.009017 - 2013-05-29
   - fix fatal "List form of piped open not implemented" on MSWin32 (RT#85712,
     ether)
 
-0.009016   2013-04-07
+0.009016 - 2013-04-07
   - 'file' command now takes care of keeping its original shebang line when given
     the original file as its argument. The 'pack' command makes use of that too.
     (Robin Smidsrod, miyagawa)
 
-0.009015   2013-04-07
+0.009015 - 2013-04-07
   - new 'pack' command, to do everything in one command (thanks, miyagawa!)
     (RT#84415)
 
-0.009014   2013-04-03
+0.009014 - 2013-04-03
   - avoid fatal error when lib/ doesn't exist (now it is simply skipped)
     (RT#84413, miyagawa)
 
-0.009013   2013-01-22
+0.009013 - 2013-01-22
   - fix to support for < 5.8 perls (haarg)
 
-0.009012   2013-01-18
+0.009012 - 2013-01-18
   - support for < 5.8 perls (RT#57811, haarg)
 
-0.009011   2012-09-24
+0.009011 - 2012-09-24
   - RT #79835: install bin/fatpack (lost in 0.009009 in the
     Module::Install -> Distar conversion)
 
-0.009010   2012-09-19
+0.009010 - 2012-09-19
   - enable temp file deletion in pack.t on Win32
   - RT #79489: %fatpacked keys need to be unix paths
 
-0.009009   2012-08-03
+0.009009 - 2012-08-03
   - RT #78724: fix trace --to-stderr (ether)
 
-0.009008   2012-07-16
+0.009008 - 2012-07-16
   - RT #78391: Avoid using $_ when requiring modules
 
-0.009007   2012-07-12
+0.009007 - 2012-07-12
   - Allow capturing of trace information into return value
   - Add repsoitory metadata to META.YML
 
-0.009006   2011-01-18
+0.009006 - 2011-01-18
   - Use File::Path's "legacy" mkpath and rmtree functions. No longer needs
     File::Path >= 2.07.
 
-0.009005   2011-01-12
+0.009005 - 2011-01-12
   - Avoid using done_testing so this works on older systems
 
-0.009004   2011-01-12
+0.009004 - 2011-01-12
   - Die if open fails in @INC handler, reduces confusing errors (DGL)
   - RT #63466: Add ending newline if input lacks one (GUGOD)
   - RT #60622: Fix conditional loading, only fatpack loaded modules (DGL)
 
-0.009003   2010-07-22
+0.009003 - 2010-07-22
   - fixed dependency for File::Path(remove_tree/make_path was first appeared at 2.07)
 
-0.009002   2010-07-07
+0.009002 - 2010-07-07
   - fixed typo and doc bug on command usage.(miyagawa)
   - added `help' command for slightly better user experience(miyagawa)
 
-0.009001  2010-03-25
+0.009001 - 2010-03-25
   - Initial release
@@ -7,6 +7,7 @@ maint/Makefile.include
 maint/Makefile.PL.include
 Makefile.PL
 MANIFEST			This list of files
+META.yml
 t/basic.t
 t/line.t
 t/line/lib/line/a.pm
@@ -17,6 +18,5 @@ t/mod/c.pm
 t/mod/cond.pm
 t/pack.t
 t/trace.t
-META.yml                                 Module YAML meta-data (added by MakeMaker)
 META.json                                Module JSON meta-data (added by MakeMaker)
 README                                   README file (added by Distar)
@@ -3,8 +3,8 @@
    "author" : [
       "mst - Matt S. Trout (cpan:MSTROUT) <mst@shadowcat.co.uk>"
    ],
-   "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 6.82, CPAN::Meta::Converter version 2.132830",
+   "dynamic_config" : 0,
+   "generated_by" : "ExtUtils::MakeMaker version 6.84, CPAN::Meta::Converter version 2.140640",
    "license" : [
       "perl_5"
    ],
@@ -38,5 +38,5 @@
          "web" : "http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/App-FatPacker.git"
       }
    },
-   "version" : "0.010000"
+   "version" : "0.010001"
 }
@@ -3,13 +3,13 @@ abstract: 'pack your dependencies onto your script file'
 author:
   - 'mst - Matt S. Trout (cpan:MSTROUT) <mst@shadowcat.co.uk>'
 build_requires:
-  ExtUtils::MakeMaker: 0
-dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.82, CPAN::Meta::Converter version 2.132830'
+  ExtUtils::MakeMaker: '0'
+dynamic_config: 0
+generated_by: 'ExtUtils::MakeMaker version 6.84, CPAN::Meta::Converter version 2.140640'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
-  version: 1.4
+  version: '1.4'
 name: App-FatPacker
 no_index:
   directory:
@@ -18,4 +18,4 @@ no_index:
 resources:
   bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=App-FatPacker
   repository: git://git.shadowcat.co.uk/p5sagit/App-FatPacker.git
-version: 0.010000
+version: '0.010001'
@@ -14,6 +14,7 @@ WriteMakefile(
 
   META_MERGE => {
     'meta-spec' => { version => '2' },
+    dynamic_config => 0,
     resources => {
       # r/w: p5sagit@git.shadowcat.co.uk:App-FatPacker.git
       repository => {
@@ -27,7 +28,7 @@ WriteMakefile(
       },
     },
     requires => {
-        # B::perlstring was added in 5.8.0
+        # B::perlstring was added in B 1.01 (perl 5.8.0)
         perl => '5.008000',
     },
   },
@@ -22,7 +22,7 @@ SEE ALSO
     <http://www.perladvent.org/2012/2012-12-14.html>
 
 SUPPORT
-    Your current best avenue is to come annoy annoy mst on #toolchain on
+    Your current best avenue is to come annoy mst on #toolchain on
     irc.perl.org. There should be a non-IRC means of support by 1.0.
 
 AUTHOR
@@ -79,7 +79,7 @@ from the command line as such:
 
     perl -MApp::FatPacker::Trace [...]
 
-You can control the paramters to the import using an equal sign, as such:
+You can control the parameters to the import using an equal sign, as such:
 
     # send the parameter "hello"
     perl -MApp::FatPacker::Trace=hello [...]
@@ -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.010001'; # 0.10.1
 
 $VERSION = eval $VERSION;
 
@@ -117,7 +117,8 @@ sub trace {
   my $output = $opts{output};
   my $trace_opts = join ',', $output||'>&STDOUT', @{$opts{use}||[]};
 
-  local $ENV{PERL5OPT} = '-MApp::FatPacker::Trace='.$trace_opts;
+  local $ENV{PERL5OPT} = join ' ',
+    ($ENV{PERL5OPT}||()), '-MApp::FatPacker::Trace='.$trace_opts;
 
   my @args = @{$opts{args}||[]};
 
@@ -142,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;
@@ -343,7 +347,7 @@ L<article for Perl Advent 2012|http://www.perladvent.org/2012/2012-12-14.html>
 
 =head1 SUPPORT
 
-Your current best avenue is to come annoy annoy mst on #toolchain on
+Your current best avenue is to come annoy mst on #toolchain on
 irc.perl.org. There should be a non-IRC means of support by 1.0.
 
 =head1 AUTHOR