Wed Apr 22 11:46:51 2015: Request 103861 was acted upon. Transaction: Correspondence added by RSCHUPP Queue: PAR-Packer Subject: Adding local directories to @INC for a pp executable fails Broken in: (no value) Severity: (no value) Owner: RSCHUPP Requestors: harald.jo...@arcor.de Status: new Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=103861 >
On 2015-04-21 13:58:48, harald.jo...@arcor.de wrote: > Here's a simple demo: 'foo' is added to @INC as intended, 'bar' isn't. > ---------------------------------------------------------------------- > $ cat local_includes.pl > use Data::Dumper; > use lib 'foo'; > use lib 'bar'; > print Dumper(\@INC); > $ pp local_includes.pl > $ ./a.out > $VAR1 = [ > 'foo', > sub { "DUMMY" }, The bug is actually in PAR (not PAR::Packer), fixed in PAR 1.009, just uploaded to CPAN. Cheers, Roderich