On Thu, Apr 06, 2006 at 12:10:18PM -0700, Larry Wall wrote:
> The current consensus on #perl6 is that, in postfix position only (that
> is, with no leading whitespace), m:p/\.+ \s<ws> <before \.>/ lets you embed
> arbitrary whitespace, comments, pod, etc, within the postfix operator.
> 
> This allows both the short
> 
>     :foo. .()
> 
> as well as the longer
> 
>     $x...
>     .foo()

The one quibble I see with this is that postfix <one or more
dots, including 3> might be a touch confusing with infix<exactly
3 dots> (i.e. the yada operator).  Depending upon context
"..." can thus be either an error (code not yet written)
or layout control and valid to "execute" (I put execute in
quotes because by the time you get around to executing the
code the ... will have served it purpose of controlling the
parsing and be gone).

(This is just the one-shot "I'm not used to it yet" vote. :-)

-- 

Reply via email to