Re: push @bar, .splice;

2004-07-17 Thread Juerd
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

Re: push @bar, .splice;

2004-07-17 Thread Dave Mitchell
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? -- A power surge on the Bridge is

push @bar, .splice;

2004-07-17 Thread Juerd
If an array element knows that it is an array element, this can be useful: for @foo { push @bar, .splice if EXPR } Juerd