Tue Sep 06 11:13:01 2016: Request 117323 was acted upon. Transaction: Correspondence added by RSCHUPP Queue: PAR-Packer Subject: parl a.par not finding DLL that was added with -l Broken in: 1.035 Severity: (no value) Owner: Nobody Requestors: bhalli...@cpan.org Status: open Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=117323 >
Am 2016-09-05 18:30:37, BHALLISSY schrieb: > I've tried setting $0, e.g. in the main.pl script: $0 in a pp generated executable is set to the name of the executable - so that a simple die "usage: $0 ...\n" will come out right. But that's wrong for Pod::Usage, so pp patches the packed copy of Pod/Usage.pm to use "$ENV{PAR_0} || $0" in place of "$0". Hence you should use $ENV{PAR_0} = "$ENV{PAR_TEMP}/inc/script/$which"; to trick Pod::Usage into using the POD in the script being "do"ne. Cheers, Roderich