This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cbb5ea
)
band-aid for perldoc -t broken-ness (the new Pod::Text
author
Gurusamy Sarathy
<gsar@cpan.org>
Thu, 29 Jul 1999 07:10:00 +0000
(07:10 +0000)
committer
Gurusamy Sarathy
<gsar@cpan.org>
Thu, 29 Jul 1999 07:10:00 +0000
(07:10 +0000)
really needs a pod2text() compatibility function)
p4raw-id: //depot/perl@3827
utils/perldoc.PL
patch
|
blob
|
blame
|
history
diff --git
a/utils/perldoc.PL
b/utils/perldoc.PL
index
8c1c696
..
2ab918b
100644
(file)
--- a/
utils/perldoc.PL
+++ b/
utils/perldoc.PL
@@
-313,10
+313,7
@@
sub printout {
my $err;
if ($opt_t) {
- open(TMP,">>$tmp")
- or warn("Can't open $tmp: $!"), return;
- Pod::Text::pod2text($file,*TMP);
- close TMP;
+ Pod::Text->new()->parse_from_file($file,$tmp);
}
elsif (not $opt_u) {
my $cmd = "pod2man --lax $file | nroff -man";