Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 95110
Status: rejected
Priority: 0/
Queue: Pod-Simple

People
Owner: Nobody in particular
Requestors: michaelgang [...] gmail.com
Cc:
AdminCc:

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



Subject: pod::simple should report on non existing directory
Date: Mon, 28 Apr 2014 09:04:19 +0300
To: bug-pod-simple [...] rt.cpan.org
From: David Michael Gang <michaelgang [...] gmail.com>
Hi all, The following script does not warn on any error: use Pod::Simple::HTMLBatch; my $batchconv = Pod::Simple::HTMLBatch->new; $batchconv->batch_convert( ['i_dont_exist'], 'pod_doc ); It just says that there are 0 pods found. It should be more specific about telling that it skips the directory because it does not exist. Thanks, David
Subject: Re: [rt.cpan.org #95110] pod::simple should report on non existing directory
Date: Mon, 28 Apr 2014 08:57:44 -0700
To: bug-Pod-Simple [...] rt.cpan.org
From: "David E. Wheeler" <dwheeler [...] cpan.org>
On Apr 27, 2014, at 11:04 PM, michael gang via RT <bug-Pod-Simple@rt.cpan.org> wrote: Show quoted text
> The following script does not warn on any error: > > use Pod::Simple::HTMLBatch; > > my $batchconv = Pod::Simple::HTMLBatch->new; > $batchconv->batch_convert( ['i_dont_exist'], 'pod_doc ); > > It just says that there are 0 pods found. > It should be more specific about telling that it skips the directory > because it does not exist.
It does if you enable verbose. Alas, it needs to be set on the Pod::Simple::Search object, so to get that with HTMLBatch, you’d have to subclass Pod::Simple::Search as described here: http://stackoverflow.com/a/23329407/79202 Best, David
Download signature.asc
application/pgp-signature 842b

Message body not shown because it is not plain text.