Skip Menu |

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

Maintainer(s)' notes

Please use Github for all future tickets, patches and pull requests: https://github.com/Dual-Life/Pod-Usage

Thanks to Nicolas R (ATOOMIC) for setting up everything there!

Report information
The Basics
Id: 110443
Status: resolved
Worked: 10 min
Priority: 0/
Queue: Pod-Usage

People
Owner: Marek.Rouchal [...] gmx.net
Requestors: ZHENYZ [...] cpan.org
Cc: zhouzhen1 [...] gmail.com
AdminCc:

Bug Information
Severity: Important
Broken in: 1.67
Fixed in: 1.68



CC: zhouzhen1 [...] gmail.com
Subject: [PATCH] fix -perldoc option in pod2usage() method
In version 1.67 it misses that '-' before 'perldoc' --- lib/Pod/Usage.pm.1.67 2015-12-19 10:54:15.746666667 +0800 +++ lib/Pod/Usage.pm 2015-12-19 10:55:31.720000000 +0800 @@ -128,7 +128,7 @@ } ## Check for perldoc - my $progpath = $opts{perldoc} ? $opts{perldoc} : + my $progpath = $opts{'-perldoc'} ? $opts{'-perldoc'} : File::Spec->catfile($Config{scriptdirexp} || $Config{scriptdir}, 'perldoc');
fixed in Pod-Usage-1.68