http://www.perlmonks.org?node_id=1082225


in reply to Need a help for perl coding

Whenever I need to pull particular columns out of a file, my weapon of choice for small scripts is awk(1) if the columns are delimited, or cut(1) if they're fixed length. If things get even slightly complicated, perl with Text::CSV_XS.