in reply to Capturing columnar data from a text file

If the values are separated by single spaces, then the previous suggestion to look at split is probably the way to go: my @fields = split ' ', $line;

If the lines are fixed width, with each field starting at a specific position, then split may still work for you (you can split on a regex instead of a fixed character to avoid getting empty values wherever there are consecutive spaces), but you might also want to look at using unpack instead.