Perl Coding School

                          

                   


Note: The archives category content is an automatically generated focus channel and does not neccessarily reflect the opinions of this blog. No responsibility is taken for the external links presented here, follow at your own discretion.
The archives content is never scraped from sites - but an abstract obtained from search engines.

Column handling in Perl

Problem Solution Example Reference Recommended


During my first encounters with Perl many years ago, I asked how can I get a specific column.

It was so easy in AWK! ;)



2 Responses to “Column handling in Perl”

  1. Randal L. Schwartz Says:

    Use split:
    my @columns = split /\t/, $input;
    my $third_column = $columns[2];

  2. links for 2007-06-06 Says:

    […] Perl Coding School ยป Column handling in Perl (tags: Perl column handling a2p Coding School) […]

Leave a Reply


Google
 
Failing that - a post search:



Categories: PHP Coding Training PHP Coding Specialist Perl Coding Training Perl Coding Specialist
LDAP Coding Training LDAP Coding Specialist UNIX Coding Training UNIX Coding Specialist Archives


A DarlingRanges.com Site























Associated