Skip Menu |
 

This queue is for tickets about the PAR-Packer CPAN distribution.

Report information
The Basics
Id: 85240
Status: resolved
Priority: 0/
Queue: PAR-Packer

People
Owner: RSCHUPP [...] cpan.org
Requestors: jean [...] veronis.fr
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.014
Fixed in: (no value)



Subject: pod_where doesn't seem to work with PAR::Packer
Download (untitled) / with headers
text/plain 286b
When run directly the following script prints the path for Data/Dumper.pm #!/usr/bin/env perl use Data::Dumper; use Pod::Find qw(pod_where); my $s = pod_where( { -inc => 1 }, 'Data::Dumper'); print Dumper $s; However, when packed with par, the result is $VAR1 = undef;
Download (untitled) / with headers
text/plain 439b
On 2013-05-13 14:42:08, jeanv wrote: Show quoted text
> 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
From: jean [...] veronis.fr
Download (untitled) / with headers
text/plain 577b
Wonderful. Many thanks for this lightning fast response! Le Lun 13 Mai 2013 15:02:28, RSCHUPP a écrit : Show quoted text
> 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


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.