On Sat, 2002-09-21 at 06:38, Smylers wrote: > So if the difference between lists with parens and anon arrays with > square brackets is going away, it may make sense to standardize on the > latter rather than the former. In other words, lists now use square > brackets. > > That frees up parens for overriding precedence: > > > (3 + 4) == 7 -- the mathematical way > > (3 + 4) == 1 -- the length of the list ... BAD! > > (3 + 4) == 7 > [3 + 4] == 1
I don't disagree that this is a good thing, but let's look at some cases that might not look the way you had intended: [$a,$b,$c] = [1,2,3]; # or is that ($a,$b,$c)? my($x,$y,$z) = [1,2,3]; [1,2,3][1] == 2; Thoughts? -- Aaron Sherman <[EMAIL PROTECTED]>