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);
In reply to Re: How do I retrieve specific column values from a table of records?
by le
in thread How do I retrieve specific column values from a table of records?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |