develooper Front page | perl.perl6.language.data | Postings from September 2000

Re: RFC 204 (v2) Arrays: Use list reference for multidimensional array access

Thread Previous
From:
Nathan Wiger
Date:
September 27, 2000 20:18
Subject:
Re: RFC 204 (v2) Arrays: Use list reference for multidimensional array access
Message ID:
39D2B669.FE21DFFB@wiger.org
Bart Lateur wrote:
> 
> >The problem is that
> >
> >   $name = "myarray";
> >   @$name = (1,2,3);
> >   print @$name[0,1];  # 1,2
> >
> >Is very consistent currently. Change one and you have to change the
> >precedence and parsing of all symbolic refs.
> 
> You are suggesting to keep a weird precedence rule, just to ease
> symbolic dereferencing!?! That's... obscene.

Where did I say that?! I even said:

   I'm not necessarily against it, but it's a deep issue not just
   constrained to arrays in this one specific context.

My point was if this idea is RFC'ed, the RFC better not be titled "Fix
arrays" but better be called "Redo the precedence rules of all symbolic
references".

-Nate

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About