develooper Front page | perl.perl6.stdlib | Postings from September 2000

Re: RFC 216 (v1) POD should tolerate white space.

Thread Next
Andy Dougherty
September 13, 2000 06:42
Re: RFC 216 (v1) POD should tolerate white space.
Message ID:

> POD should tolerate white space where it now requires empty lines


> Seems like it should be just a regexp stuck in somewhere

I think this is a specific problem calling for a more general solution.
I can think of two possible ones:

1.  A standard library function to safely but forgivingly read in a
"paragraph". I have cc'd perl6-stdlib since this strikes me as a sensible
candidate for the standard library.

2.  Allowing $/ (or its successor, perhaps set on a per-filehandle
basis) to be a regular expression, not a string.  (Surely there's an RFC
on that somewhere.)

Once either of those solutions is implemented, then then it's a simple
matter for pod tools using it instead of $/ (or whatever).

Since you made this proposal, would you be willing to pursue either
of these options further?

    Andy Dougherty
    Dept. of Physics
    Lafayette College, Easton PA 18042

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About