On Tue, Sep 16, 2003 at 01:39:26AM +0100, Joel Bernstein wrote: >what do you understand by the line: > my $foo=( split ',' => $line )[7]; >? > >i'm trying to get the split to return an array, of which I then get the >7th element (and assign to $foo).
That's what it does for me (well, the 8th element, of course), even if I use ',' rather than the more useful /,/. What's the problem? R