Jul 18, 2013, 4:31 PM
Post #1 of 1
Hello there, Ive been stuck trying to assign two different arrays I have to two different columns in a file. [/codeopen (ECFILE, 'PEC,CEC.txt');
Assigning arrays to columns in a file?
my @all = <ECFILE>;
push (@reactant, $all);
push (@product, $all);
the file is formatted like so...
Any help? I know Im close to the answer but I've been looking at this for awhile and need another set of eyes to catch what I've missed. Thanks very much!