http://www.perlmonks.org?node_id=41390


in reply to Re: Unexpected Array
in thread Unexpected Array

here is the code
$file = "/usr/local/rf-north/cgi-bin/chandata.txt"; open (FH, $file) || die "Unable to open file $file\n"; @data = <FH>; close (FH); foreach $item (@data){ @line = split (/ /, $item); push(@finalarray, @line); }

Does this help?>
Thanks Again
Dipul