Subject: | Pod::Perldoc::ToMan breaks with -n nroff replacement |
To avoid problems with older groff versions, I have been successfully
using the following alias for a long time, which according to google is
a very popular solution:
alias perldoc="perldoc -n 'nroff -Tascii'
With the latest (3.16) update, I get the following error:
$ perldoc ExtUtils::MakeMaker
Error while formatting with Pod::Perldoc::ToMan:
open3: exec of nroff -Tascii -man -Tlatin1 failed at
/home/jc/perl5/perls/perl-5.14.2/lib/5.14.2/Pod/Perldoc/Toman.pm line 307.
at /home/jc/perl5/perlbrew/perls/514/bin/perldoc line 9.
Got a 0-length file from
/home/jc/perl5/perlbrew/perls/perl-5.14.2/lib/5.14.2/ExtUtils/MakeMaker.pm
via Pod::Perldoc::ToMan!?
at /home/jc/perl5/perlbrew/perls/514/bin/perldoc line 9.
Without the alias, I get a warning about an outdated groff. When I
downgrade, my alias works fine.