Skip Menu |
 

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

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
Download (untitled) / with headers
text/plain 449b
"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
Download (untitled) / with headers
text/plain 727b
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
Download (untitled) / with headers
text/plain 1.3k
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


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.