Bug#710107: perldoc: Error while formatting with Pod::Perldoc::ToMan: no nroffer!?
Russ Allbery
rra at debian.org
Tue May 28 19:30:02 UTC 2013
Jakub Wilk <jwilk at 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 (rra at debian.org) <http://www.eyrie.org/~eagle/>
More information about the Perl-maintainers
mailing list