Dave Mitchell skribis 2004-07-17 18:24 (+0100):
On Sat, Jul 17, 2004 at 06:53:28PM +0200, Juerd wrote:
If an array element knows that it is an array element, this can be
useful:
for @foo { push @bar, .splice if EXPR }
What happens if the element is an element of more than one array?
Good point. It can perhaps know which array that it belongs to is
currently used with foreach :) Which would automatically bring us to the
question: what if it belongs to two arrays, that are both being iterated
over? I have no idea.
Juerd