in reply to extract ouput that counts strings starting with A in the dataset
substr($line, 0, 1) eq 'A'
Also, there is a precedence problem on your open line. Use or instead of ||, otherwise your statement means
which will never die.open DATA, ( "<piRNA_Dataset" || die "..." )
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: extract ouput that counts strings starting with A in the dataset
by MVRS (Acolyte) on Feb 29, 2012 at 05:07 UTC | |
by choroba (Cardinal) on Feb 29, 2012 at 15:58 UTC |