in reply to extracting columns
Add tags around code so that it appears formatted correctly in the post. <code>...your code here</code>my @fields = split /\t/; should be: my @fields = split /\t/,$_;
before the print, just skip the print and loop for next line if $SIZE doesn't meet the criteria:
next unless ($SIZE >2.0 and $SIZE < 5.0);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: extracting columns
by perllearner007 (Acolyte) on Mar 22, 2012 at 20:24 UTC | |
by Marshall (Canon) on Mar 22, 2012 at 22:41 UTC | |
by perllearner007 (Acolyte) on Apr 06, 2012 at 17:36 UTC | |
by perllearner007 (Acolyte) on Apr 06, 2012 at 18:27 UTC |