my ($weight, $height) = (split(/\s+/, $_))[2,3]
For further reading, have a look at perlfunc:split and perlman:perldata.
In reply to Re: How can I read only certain columns of a table
by rob_au
in thread How can I read only certain columns of a table
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |