in reply to How can I read only certain columns of a table
my ($weight, $height) = (split(/\s+/, $_))[2,3] [download]
For further reading, have a look at perlfunc:split and perlman:perldata.