develooper Front page | perl.perl5.porters | Postings from June 2013

Re: [perl #118271] perldoc fallback with no nroffer

Thread Next
From:
Dominic Hargreaves
Date:
June 2, 2013 23:12
Subject:
Re: [perl #118271] perldoc fallback with no nroffer
Message ID:
20130602231215.GI6177@urchin.earth.li
On Sun, Jun 02, 2013 at 03:15:02PM -0700, James E Keenan via RT wrote:
> On Sun Jun 02 15:07:32 2013, dom wrote:
> > 
> > This is a bug report for perl from dom@earth.li,
> > generated with the help of perlbug 1.39 running under perl 5.18.0.
> > 
> > 
> > -----------------------------------------------------------------
> > perldoc used to spit out the raw POD if no nroffer was available,
> > but now it fails altogether:
> > 
> > | $ perldoc perldoc
> > | Use of uninitialized value $roffer in concatenation (.) or string at
> >    /usr/share/perl/5.18/Pod/Perldoc/ToMan.pm line 53.
> > | Use of uninitialized value in concatenation (.) or string at
> >    /usr/share/perl/5.18/Pod/Perldoc/ToMan.pm line 303.
> > | Use of uninitialized value in pattern match (m//) at
> >    /usr/share/perl/5.18/Pod/Perldoc/ToMan.pm line 308.
> > | Error while formatting with Pod::Perldoc::ToMan:
> > |  no nroffer!?
> > |  at /usr/share/perl/5.18/Pod/Perldoc.pm line 1346.
> > |
> > |
> > |  at /usr/bin/perldoc line 10.
> > | Got a 0-length file from /usr/share/perl/5.18/pod/perldoc.pod via
> >    Pod::Perldoc::ToMan!?
> > |
> > |  at /usr/bin/perldoc line 10.
> > 
> > Ideally, it should fall back to Pod::Text (aka perldoc -t), which is
> > always available and doesn't rely on any external formatter.
> > 
> > This is also
> > <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710107>
> > 
> 
> dom, thanks for the report.  Do you know whether this first appeared in
> 5.18.0?  Or in some earlier version?

It appears in 5.16.3 and not 5.14.2.

Cheers,
Dominic.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About