Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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
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 romping around the Monastery: (14)
As of 2014-07-28 17:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (204 votes), past polls