in reply to Re: multicolumn extraction
in thread multicolumn extraction
Nicely done, Dave. However, since we don't know the number of columns or the file size, do you think it would be better to limit the split to only the needed columns, as in the following?
my @columns = (split /\t/)[1 .. 2];
Depending on these factors and the machine, the script might otherwise choke.
Just a thought...
Now splitting on /\t/ based upon sauoq's good catch in his comment below.
|Replies are listed 'Best First'.|
Re^3: multicolumn extraction
by sauoq (Abbot) on Jun 03, 2012 at 17:05 UTC