develooper Front page | perl.perl6.language | Postings from April 2006

Re: A shorter long dot

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
April 30, 2006 10:33
Subject:
Re: A shorter long dot
Message ID:
20060430173301.GI32359@plum.flirble.org
On Sun, Apr 30, 2006 at 09:58:21AM -0700, Larry Wall wrote:

> Neither of those are currently legal in infix position.  The backslash

> Backslash also has the advantage of making sense to a C programmer:
> 
>     $foo\
>     .foo();

So this also would be legal?

    $foo								\
    .foo();

?

(and therefore presumably the variant that is a bug in C or Makefiles:

    $foo								\ 
    .foo();


I don't mean that as a counter argument. It's an argument in favour. That
space you can't see is a really annoying invisible bug in C source code that's
sometimes hard to track down. Making it not-a-bug seems good.)

Nicholas Clark

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