develooper Front page | perl.perl6.language | Postings from March 2005

Re: [Fwd: Re: [RFC] A more extensible/flexible POD (ROUGH-DRAFT)]

Thread Previous | Thread Next
David Storrs
March 16, 2005 09:25
Re: [Fwd: Re: [RFC] A more extensible/flexible POD (ROUGH-DRAFT)]
Message ID:
On Wed, Mar 16, 2005 at 12:00:28PM -0500, Aaron Sherman wrote:
> The one obvious thing to POD users is the replacement of <> with [] or
> {}. Why is this? Because < and > are used in un-balanced ways in a large
> number of situations, so they should not be the primary bracketing
> constructs. 

Actually, I quite like <> as the bracketing characters.  They are
visually distinctive, they connect well with their adjacent C/X/L/etc
without visually merging into it (compare L<foo> with L[foo]), and in
the circumstance that you want to bracket an unbalanced bracket, you
just double (triple, whatever) up and add some space:

     C<<  $x > $y  >>

Looks pretty clear to me.


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