in reply to How do I retrieve specific column values from a table of records?
Looks like the original data was tab-separated. split("\t") would work there. -- Ed.open (FILE, "data.txt") or die $!; while(<FILE>) { @array = split(/;/); print $array[1], $array[2]; } close(FILE);
|
|---|