Hi Eric, hi par@perl.org,

sorry for chiming in so late.

Eric Wilhelm wrote:
> # from Brad Bowman
> # on Sunday 09 September 2007 05:43 pm:
> 
>> In a module I wrote "=head" instead of "=head1"
>> at the start of my pod and then under-PAR (and only under PAR) got
>> "did not return a true value" warning.  Looking at the file in the
>> zip I could see that the =head had hidden the code, including
>> the return value.
> 
> Sounds like the bug is in Pod::Strip.  It must be following a different 
> set of pod rules than the interpreter.  Anything starting with qr/^=\w/ 
> (or thereabouts) is pod.

Well, PAR::Filter::PodStrip doesn't use Pod::Strip as it stands but uses
its own POD filter.

Questions I have here are:
1) What's the official stance? Do we have in the perl docs that "^=\w"
is POD?
2) Should PAR::Filter::PodStrip be using Pod::Strip? Could we unload
some baggage that way?

What do you think?

Best regards,
Steffen

Reply via email to