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: 86776
Status: resolved
Worked: 45 min
Priority: 0/
Queue: Pod-Usage

People
Owner: Marek.Rouchal [...] gmx.net
Requestors: vlisivka [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.64



Subject: "pod2usage -verbose 2 FILE" is broken when perldoc is missing
"pod2usage -verbose 2" fails silently (no error messages) when perldoc is not installed. Installing of perldoc fixes the problem. "pod2usage -verbose 1" and "pod2usage -verbose 99" are working. Step to reproduce: * uninstall perlpod; * invoke "pod2usage -man". * Expected value: man page or error message at least. Actual value: no output at all. See trace of script execution in attachment. Distribution: Fedora 17, perl version: 5.14.4 .
Subject: pod-2usage-man-trace.txt

Message body is not shown because it is too large.

From: ppisar [...] redhat.com
Dne Po 08.čec.2013 12:22:25, https://www.google.com/accounts/o8/id?id=AItOawnksG2oUwusI6wNF_AqWoMTC9SXWZ-_lYU napsal(a): Show quoted text
> "pod2usage -verbose 2" fails silently (no error messages) when perldoc > is not installed. >
That's because the META.yml does list Pod::Perldoc as a dependency. Show quoted text
> See trace of script execution in attachment. Distribution: Fedora 17, > perl version: 5.14.4 .
Try the distribution package perl-Pod-Usage. It pulls in perl-Pod-Perldoc package automatically to satisfy the dependency on /usr/bin/perldoc. BTW, I found this bug report mentioned in the Pod-Usage-1.64 changelog, however after comparing 1.63 and 1.64 sources, I cannot see any changes in the code besides the Pod::Usage POD text. -- Petr
There is no change in the code because there was nothing to change ;-) I tried by removing the perldoc script from my local Perl installation, and pod2usage() just worked fine (i.e., it showed only humble text rather than the formatted manual). Therefore I don't think Pod::Usage should get a hard dependency on Pod::Perldoc, since that in turn requires a bunch of other modules. Of course, you usually want to have Pod::Perldoc on your system... but Pod::Usage will work decently without it, and will make use of it if it's there. Is there anything else I can do for you? -Marek On Tue Jul 01 10:27:43 2014, ppisar wrote: Show quoted text
> Dne Po 08.čec.2013 12:22:25, > https://www.google.com/accounts/o8/id?id=AItOawnksG2oUwusI6wNF_AqWoMTC9SXWZ- > _lYU napsal(a):
> > "pod2usage -verbose 2" fails silently (no error messages) when > > perldoc > > is not installed. > >
> That's because the META.yml does list Pod::Perldoc as a dependency. >
> > See trace of script execution in attachment. Distribution: Fedora 17, > > perl version: 5.14.4 .
> > Try the distribution package perl-Pod-Usage. It pulls in perl-Pod- > Perldoc package automatically to satisfy the dependency on > /usr/bin/perldoc. > > BTW, I found this bug report mentioned in the Pod-Usage-1.64 > changelog, however after comparing 1.63 and 1.64 sources, I cannot see > any changes in the code besides the Pod::Usage POD text. > > -- Petr