Joel Bernstein wrote: > my $foo=( split ',' => $line )[7]; Side note : use /,/ instead of ','. The 1st argument to split() is always a regexp (1), and write it this way if you don't want to debug what's wrong with C<split '|' => $foo>.
- (1) except when it's a single space " ". :-)