develooper Front page | perl.perl5.porters | Postings from February 2000

Re: proposed perlpod.pod patch

Thread Previous | Thread Next
From:
Jan Dubois
Date:
February 4, 2000 16:55
Subject:
Re: proposed perlpod.pod patch
Message ID:
f0tm9s8r8j914kg31eon3bd0ln92gveno1@4ax.com
On Fri, 4 Feb 2000 17:06:29 -0600, Brad Appleton <bradapp@enteract.com> wrote:

>On Fri, Feb 04, 2000 at 05:17:20PM -0500, Ronald J Kimball wrote:
>> However, I'm curious about why a newline isn't allowed
>
>Cuz then it entails non-trivial changes to me code ;-) Otehrwise its a

But there is a very valid reason for allowing newline after a C<<

Assume you have a C<< sequence like this >> in your POD.  Someone later edits
the text in mid-paragraph and then needs to reflow it to get the line lengths
back to sensible values.  The editor might think that right after C<< is a
valid place to insert a linebreak (because there is already whitespace there).
This would now render the POD formatting invalid, which is a very bad thing to
do.

I hope you'll find the tuits to allow newlines after C<<  :-)

-Jan


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About