On Fri, Oct 14, 2005 at 10:20:29PM +0200, David Landgren wrote: > Does this by chance also happen to make > > push @{$_ % 2 ? @odd : @even} for 0..10 > > happen to work as well, or are other forces coming into play? Assuming you really meant: push @{$_ % 2 ? @odd : @even}, $_ for 0..10 it "works" in the sense that it's equivalent to @0 = (0..10); which presumably isn't what you meant. This: push @{$_ % 2 ? \@odd : \@even}, $_ for 0..10; does what I guess you want, but that hasn't changed. RobinThread Previous | Thread Next