Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2018-02-25 20:38 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (314 votes). Check out past polls.