L-valueness of Arrays vs. Lists

2003-02-22 Thread Martin D Kealey
On Tue, 11 Feb 2003, Michael Lazzaro wrote: What is the utility of the perl5 behavior: \($a,$b,$c) meaning (\$a, \$b, \$c) Do people really do that? ... Can someone give an example of an actual, proper, use? Yes, I've used it like this: for (\($a,$b,$c)) { $$_++;

Re: Arrays, lists, referencing

2003-02-22 Thread Martin D Kealey
I would like to chip in in favour of the list is value, array is container side of the argument. However I think that needs clarifying. A reference is a value; the thing it refers to is a container. An anonymous container is a container with no references from any symbol table. It can lose its