Perl Monk, Perl Meditation | |
PerlMonks |
Re: How to get the column from linesby GotToBTru (Prior) |
on Apr 14, 2014 at 16:11 UTC ( [id://1082257]=note: print w/replies, xml ) | Need Help?? |
Firstly, it would be very helpful to see an example of the data. Secondly, zero-based indexing trips up a lot of people. (split / /)[2,5] will give you the 3rd and 6th columns of your data.
In Section
Seekers of Perl Wisdom
|
|