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

    cheers

    tachyon

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