Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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




Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2015-10-10 15:27 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (257 votes), past polls