Skip Menu |

This queue is for tickets about the Pod-Parser CPAN distribution.

Report information
The Basics
Id: 57954
Status: resolved
Priority: 0/
Queue: Pod-Parser

People
Owner: Nobody in particular
Requestors: ezylby [...] yahoo.fr
Cc:
AdminCc:

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



Subject: Pod::Usage does not find perldoc when perl is relocatable
When perl is compiled in relocatable mode, $Config{scriptdir} does not contain a "real" directory name : $ perl -MConfig -MData::Dumper -e 'print Dumper \%Config' | egrep script 'd_vendorscript' => undef, 'installscript' => '/home/opt/perl/bin/', 'installsitescript' => '/home/opt/perl/bin', 'installvendorscript' => '', 'scriptdir' => '.../', 'scriptdirexp' => '/home/opt/perl/bin/', 'sitescript' => '.../../bin', 'sitescriptexp' => '/home/opt/perl/bin', 'vendorscript' => '', 'vendorscriptexp' => '', When pod2usage(2) is executed, the path to perldoc is wrong. I think line : 567 my $progpath = File::Spec->catfile($Config{scriptdir}, 'perldoc'); should be : 567 my $progpath = File::Spec->catfile($Config{scriptdirexp}, 'perldoc'); Eric
Accepted. Will be in 1.40, to be released soon. Thanks!