-
Notifications
You must be signed in to change notification settings - Fork 557
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Perl 5.005_58 perldoc references unknown Pod::Text::pod2text #271
Comments
From Paul.Moore@uk.origin-it.comPerl built OK, and passed all tests. However, using perldoc on anything Undefined subroutine &Pod::Text::pod2text called at Perl Info
|
From @gsarOn Wed, 28 Jul 1999 14:46:34 BST, "Moore, Paul" wrote:
The new Pod::(Simple)Text doesn't seem to have a pod2text() function Sarathy Inline Patch-----------------------------------8<-----------------------------------
Change 3827 by gsar@auger on 1999/07/29 07:10:00
band-aid for perldoc -t broken-ness (the new Pod::Text
really needs a pod2text() compatibility function)
Affected files ...
... //depot/perl/utils/perldoc.PL#36 edit
Differences ...
==== //depot/perl/utils/perldoc.PL#36 (text) ====
Index: perl/utils/perldoc.PL
--- perl/utils/perldoc.PL.~1~ Thu Jul 29 00:10:51 1999
+++ perl/utils/perldoc.PL Thu Jul 29 00:10:51 1999
@@ -313,10 +313,7 @@
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";
End of Patch.
Change 3828 by gsar@auger on 1999/07/29 07:19:27
tweak previous change for multiple hits
Affected files ...
... //depot/perl/utils/perldoc.PL#37 edit
Differences ...
==== //depot/perl/utils/perldoc.PL#37 (text) ====
Index: perl/utils/perldoc.PL
--- perl/utils/perldoc.PL.~1~ Thu Jul 29 00:19:57 1999
+++ perl/utils/perldoc.PL Thu Jul 29 00:19:57 1999
@@ -313,7 +313,9 @@
my $err;
if ($opt_t) {
- Pod::Text->new()->parse_from_file($file,$tmp);
+ open(OUT,">>$tmp") or warn("Can't open $tmp: $!"), return;
+ Pod::Text->new()->parse_from_file($file,\*OUT);
+ close OUT;
}
elsif (not $opt_u) {
my $cmd = "pod2man --lax $file | nroff -man";
End of Patch. |
From [Unknown Contact. See original ticket]Gurusamy Sarathy <gsar@activestate.com> writes:
Done in the latest version, tested against perldoc from 5.005_02 and it -- |
From [Unknown Contact. See original ticket]
Try running 'pod2man --fixed=B blah.pod | nroff -man | less' on --tom |
Migrated from rt.perl.org#1093 (status was 'resolved')
Searchable as RT1093$
The text was updated successfully, but these errors were encountered: