On Tue, Sep 16, 2003 at 09:20:04AM +0100, Roger Burton West wrote: > 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 count from the zero'th ;) > I use ',' rather than the more useful /,/. What's the problem? Yeah, OK, point taken about stringifying the , altho' I expect that the => doesn't help in that respect. If that line's OK, then it's another I have a problem with. Ho hum. > > R > /joel