Wed Mar 04 18:57:24 2020: Request 132055 was acted upon. Transaction: Ticket created by DBOOK Queue: PAR-Packer Subject: PodStrip filter corrupts __FILE__ in modules Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: db...@cpan.org Status: new Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=132055 >
test.pl: use TestModule; TestModule.pm: print __FILE__, "\n"; pp -o test test.pl; ./test TestModule.pm env PAR_VERBATIM=1 pp -o test test.pl; ./test /tmp/par-6772696e6e7a/cache-3389c9f99dff4f9a1680ee679c53debbe9e2e918/inc/lib/TestModule.pm The filename override causes __FILE__ to then be unusable within the module since TestModule.pm is not found within cwd. I wonder why this filter overrides the filename at all. It should be able to set line numbers and omit the filename.