Joel Bernstein <[EMAIL PROTECTED]> writes: > I have a problem with some code which I'm trying to debug. I'm not > certain, but I think perhaps I'm doing something wrong in the following > line - perhaps inadvertently creating an array slice? > > what do you understand by the line: > my $foo=( split ',' => $line )[7]; > ?
It's an index into a list, what else would it be? Perfectly good Perl idiom. What's breaking? -- Piers