Mon May 13 15:02:28 2013: Request 85240 was acted upon.
Transaction: Correspondence added by RSCHUPP
       Queue: PAR-Packer
     Subject: pod_where doesn't seem to work with PAR::Packer
   Broken in: 1.014
    Severity: Normal
       Owner: RSCHUPP
  Requestors: j...@veronis.fr
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=85240 >


On 2013-05-13 14:42:08, jeanv wrote:
> However, when packed with par, the result is
> 
>   $VAR1 = undef;

That's because by default pp strips POD from the modules it packs.
To keep POD, pack with PAR_VERBATIM=1 in the environment, 
e.g. if bar.pl is your sample script:

$ PAR_VERBATIM=1 pp -o bar.exe bar.pl
$ ./bar.exe 
$VAR1 = 
'/tmp/par-roderich/cache-eb75039d16f65a0b128812311a42553f691a0ab8/inc/lib/Data/Dumper.pm';

Cheers, Roderich

Reply via email to