----- Original Message ----- 
From: "Randy W. Sims" <[EMAIL PROTECTED]>
To: "Fungii" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, April 29, 2004 9:00 PM
Subject: Re: Perldoc on Win98


> Let's keep this on the list, so if others run into the same problem,
> they can benefit. Also, it's a good exercise in debugging.

Sure, sorry I thought the list would automatically be included in my
replies...

> Time to do some debugging. Starting with a peek inside 'perldoc':
hmm, I
> see that you can set PERLDOCDEBUG in the environment to get some
more
> verbose output. Try:
>
> set PERLDOCDEBUG=1
> perldoc -v perldoc

I've done that and the problem seems to crop up when the 'page'
function is called. I managed to get the temp file to put a backslash
in place of the forward slash, but it still fails. So that doesn't
seem to be the problem after all.

 It outputs 'About to try calling more<' right before it fails, so now
I suspect the problem might lie with 'more<' or the file name doesn't
match. I'll check those two out. I just tried entering, from the DOS
prompt, the 'more< filename' exactly as it came up in the error
message and it displayed the POD fine, one page at a time. I'll keep
working on this and post more if I can find anything.

Rich

BTW Sorry about posting in HTML in the original message and the bad
word wrapping. This mail client is brutal. >:(

ook at the output and use it to guide you closer to the error.
You'll
> have to peek inside the source files for Pod::Perldoc. You can
probably
> just do a search thru the sources for the message above "About to
try
> calling". Don't be afraid to put a few print statements in their and
> otherwise modify the code to try to find and fix the problem. Just
make
> sure you back it up first. For example
>
> cd D:\perl\site\lib\Pod\
> copy Perldoc.pm Perldoc.pm.orig
> attrib -r Perldoc.pm
> edit Perldoc.pm
>
> If you get it to work, make a diff of the changes:
>
> diff -u Perldoc.pm.orig Perldoc.pm > C:\Perldoc.patch
>
> and send it to Sean. Also let us know.
>
> If you can't find & fix the problem, post what info you can glean
and
> we'll see where it leads. I don't have Win98, so we may may have to
go
> back and forth a bit to find the problem.
>
> Randy.
>
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to