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

Re: proposed perlpod.pod patch

Thread Previous | Thread Next
From:
Brad Appleton
Date:
February 5, 2000 14:38
Subject:
Re: proposed perlpod.pod patch
Message ID:
200002052238.QAA05172@agogic.cig.mot.com
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 <bradapp@enteract.com> http://www.enteract.com/~bradapp/
  "And miles to go before I sleep." -- Robert Frost

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