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

Re: proposed perlpod.pod patch

Thread Previous | Thread Next
Brad Appleton
February 5, 2000 14:38
Re: proposed perlpod.pod patch
Message ID:
On Fri, Feb 04, 2000 at 09:58:16PM -0800, Larry Wall wrote:
> : And if we want to talk about the >> operator?
> I think C<< >> >> should work just fine.  You just have to make
> sure that the final space is distinct from the first space.  In the
> rare cases where you want to have something else before it, you can
> say C<< foo Z<>>> >>, or use the tried and true &gt;.

What if we also allowed C<<< ... >>>? We could make the rule that
you could use as many '<' as you want, and if you use more than 1,
you have to have the whitespace at the beginning and end.

So theoretically, in addition to the usual /[A-Z]</ we could 
also look for /[A-Z]<{2,}\s+/ and they always have to use the
same number of closing angle brackets as opening angle brackets.

Thats the theory. In practice, maybe its sufficient to simply
allow << ... >>  and  <<< ... >>>. Then you can use tripled
brackets if you want to talk about right-shift, and if you want
to talk about right-justified-formats, perhaps you should stick
to verbatim text ;-)

Brad Appleton <>
  "And miles to go before I sleep." -- Robert Frost

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