On Wed, Sep 13, 2000 at 07:18:15AM -0000, Perl6 RFC Librarian wrote:
> POD should tolerate white space where it now requires empty lines

I used to trip over this problem alot in my code.  In fact, patches
#5507 and #5493 to perl were just about stripping whitespace out of
POD, IIRC.

I can't think any reason why POD tags require "\n" instead of /^\s*$/.
I mean, there's some ludicrous cases of ambiguities:

    use constant for => 2;

    $foo

    =for + 2;

Does $foo == 4 or is that a POD tag?  Very contrived, I don't think
this sort of thing will be a problem.  I can't think of a time when
I've ever put an '=' flush left.

I'm sure this has come up on p5p before, but I can't find anything
relevent in the archives.

-- 

Michael G Schwern      http://www.pobox.com/~schwern/      [EMAIL PROTECTED]
Just Another Stupid Consultant                      Perl6 Kwalitee Ashuranse
BOFH excuse #89:

Electromagnetic energy loss

Reply via email to