How to extract a column of data from a text document using perl?

Steven

New member
I have several files containing columns created by tabs like such:

1 231 A G 0.5
2 121 C T 0.6

How can I extract the second column ONLY and create a new file containing only this column in a perl script?
 
Back
Top