in reply to Re^4: Getting data from a file (Operons and Genes).
in thread Getting data from a file (Operons and Genes).

From inspection, I noticed that there always seemed to be four spaces delimiting the columns. In the data set provided here, it does not seem the case (ie. there are tabs instead).

If tabs are the actual delimiter, then use this line instead:

my @fields = split(/\t/, $_);

The initial goal is to split each line of data into four separate fields.


Where do you want *them* to go today?