in reply to split function

Hello, I don't really understand your code :
I would do this :
open FILE, "< $ARGV[0]" or die "Unable to open file : $!\n" while (<FILE>) { push @{$data[$.]}, split /[\s\t]+/; }
(No tested)
$. is the line number of the input file. Hence, if you have a test file like this
1 2 3 4 5 6 7 8 9 A B C
$data[ 2 ] [ 1 ] will give '6'

HTH

-- zejames