Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Can someone explain this weird Pod::Html bug?

by stefan k (Curate)
on Nov 30, 2001 at 15:14 UTC ( #128601=note: print w/ replies, xml ) Need Help??


in reply to Can someone explain this weird Pod::Html bug?

I'm not really good at this but I have once hunted a bug with pod which was the result of different line endings. Maybe you should try to run it through recode once or remove all CRs (perl -pi.bak -e 's/\r//g') or the like.
Again: I can't promise that this is _it_, still it might be worth a try.

Regards... Stefan
you begin bashing the string with a +42 regexp of confusion


Comment on Re: Can someone explain this weird Pod::Html bug?
Select or Download Code
Replies are listed 'Best First'.
Re: Re: Can someone explain this weird Pod::Html bug?
by tachyon (Chancellor) on Nov 30, 2001 at 15:25 UTC

    Thanks stefan_k but I have already done that. The first thing the problem script does is recurse the tree and standardise all the line endings to \012. It also fixes the annoying /^\s+\012/ blank lines (but with spaces) that choke pod2html.

    Update - ++ stefan_k

    I looked at my code and the s/\015\012/\012/g is run AFTER the calls to pod2html. Do it first and.....problem solved

    cheers

    tachyon

    s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://128601]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (16)
As of 2015-07-30 20:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls