in reply to array of arrays with data from files

You are not throughing a line there, You're throughing the filehandle which is different.

You'll first need to put that file handle into a variable then split, or just split the file handle an array so you can use it there.

to extract the content of the file handle you'll need to use what's called diamond operators "<>"

for example: my @y1 = split /,/,<$temp_line1>;

Replies are listed 'Best First'.
Re^2: array of arrays with data from files
by r0adawg (Beadle) on Dec 27, 2010 at 18:03 UTC
    Thanks,

    that worked perfectly... I had not tried to use a temp array, I had only tried to split the current data set.