develooper Front page | perl.perl5.porters | Postings from August 2009

Re: [PATCH] minimal := for Perl 5 blead

Thread Previous | Thread Next
From:
Chip Salzenberg
Date:
August 20, 2009 20:23
Subject:
Re: [PATCH] minimal := for Perl 5 blead
Message ID:
20090821032309.GB16532@tytlal.topaz.cx
On Thu, Jul 23, 2009 at 10:37:08PM -0400, Eric Brine wrote:
> The problem with having implicit dereference is that you end up overusing
> "map \$_,"

Whatever else is going on, we do already have C<\LIST> for that:

     DB<1> x \(1,2,3)
   0  SCALAR(0x96fab88)
      -> 1
   1  SCALAR(0x96fa7c8)
      -> 2
   2  SCALAR(0x96fa948)
      -> 3

In not necessarily unrelated news, the Perl 6 design is as always worth
considering.  Last I checked, the RHS of Perl 6's := had to be a "capture",
which has the syntax C<\LIST>.  Coincidence ... or Conspiracy?!

More on this later.
-- 
Chip Salzenberg

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