[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: pod bugs
>> People keep putting spaces or tabs on otherwise blank lines in the
>> pod files.
>Hmmn - Pod::Parser treats lines matching /^\*$/ the same as blank lines
>(which was okay with p5p at the time - is this still the case??)
>I believe pod2text and pod2man now use Pod::Parser. Am I correct in
>assuming the /^\s+$/ lines are causing problems for you using pod2html?
>If you're getting problems from pod2text or pod2man in the latest stuff
>for 5.6 then I have a bug to fix.
I was using a pod2text from some release back. Yes, the version
in _63 "works", but this is not a "fix" I enjoy seeing. It should
issue warnings on broken pod. Pod is paragraph-based. A paragraph
ends in two or more consecutive newlines. You're just making up for
mistakes that will bite other people later.
You're welcome to introduce a pragma that changes what $/ means, I suppose.
--tom
- Follow-Ups from:
-
Russ Allbery <rra@stanford.edu>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]