Re: [rt.cpan.org #55602] Bug #12239 was a mistake (nested formatting codes)

[email protected] ("David E. Wheeler")
Newsgroups perl.pod-people
Message-ID <[email protected]>
On Mar 16, 2010, at 6:07 AM, Allison Randal wrote:

> Hmmmm... that does put a different light on it... But, I still think it's more useful and less confusing as an absolute escape on all angle brackets within the region. So either a) every angle is literal:
> 
>  C<< $x > L<Foo>->blort >>
> 
> or b) escape all non-special angles:
> 
>  C<$x E<gt> LE<lt>FooE<gt>-E<lt>blort>
> 
> The alternatives suggested:
> 
>  C<< $x > LZ<><Foo>->blort >>
>  C<< $x > LE<lt>FooE<gt>->blort >>
> 
> Have a design taste of hacks required by a formatting language that's too limited and inconsistent.
> 
> The bug reporter asked how to write:
> 
>  S<< C<< name => value >> >>
> 
> That's just:
> 
>  S< C<< name => value >> >
> 
> The non-interpolation rule doesn't apply until you get to the double-angles.

++Consistency. This is why I went with Schwern's original suggestion, in consultation with Allison (we had a Pod::Simple hackathon before 3.09 and fixed all the bugs we could). To me it's much simpler the way it is.

Best,

David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.