summaryrefslogtreecommitdiff
path: root/lib/Pod/Perldoc
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-07-27 17:51:01 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-07-27 17:51:01 +0000
commita60a0c7496116922c40e1fceebde1c1462633587 (patch)
tree6b8f9dc00f791537dfa1fc625f56568fd102d965 /lib/Pod/Perldoc
parent741297c143a9798e7fc90a397d29caf47224b950 (diff)
downloadperl-a60a0c7496116922c40e1fceebde1c1462633587.tar.gz
Upgrade to Pod::Perldoc 3.09.
p4raw-id: //depot/perl@20233
Diffstat (limited to 'lib/Pod/Perldoc')
-rw-r--r--lib/Pod/Perldoc/ToMan.pm9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/Pod/Perldoc/ToMan.pm b/lib/Pod/Perldoc/ToMan.pm
index 371a3beea8..f9061b86b7 100644
--- a/lib/Pod/Perldoc/ToMan.pm
+++ b/lib/Pod/Perldoc/ToMan.pm
@@ -5,7 +5,7 @@ use strict;
use warnings;
# This class is unlike ToText.pm et al, because we're NOT paging thru
-# the output in that our particular format -- we make the output and
+# the output in our particular format -- we make the output and
# then we run nroff (or whatever) on it, and then page thru the
# (plaintext) output of THAT!
@@ -54,7 +54,12 @@ sub parse_from_file {
)
. " $switches --lax $file | $render -man"
; # no temp file, just a pipe!
-
+
+ # I hear persistent reports that adding a -c switch to $render
+ # solves many people's problems. But I also hear that some mans
+ # don't have a -c switch, so that adding it here would presumably
+ # be a Bad Thing -- sburke@cpan.org
+
$command .= " | col -x" if $^O =~ /hpux/;
defined(&Pod::Perldoc::DEBUG)