Jakub Wilk <jw...@debian.org> writes:

> perldoc from Perl 5.18 doesn't work if groff is not installed:
> | $ 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.

> This is a regression: previous versions of perldoc displayed raw POD in
> such situation, which might be suboptimal (see bug #206211), but is still
> better than nothing.

Ideally, it should fall back to Pod::Text (aka perldoc -t), which is
always available and doesn't rely on any external formatter.

-- 
Russ Allbery (r...@debian.org)               <http://www.eyrie.org/~eagle/>


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to