in reply to Re: Syntax error
in thread Syntax error
Or better still, lowercase $base as soon as you set it:
$base = lc substr($sequence, $position, 1);
Then comparisons can just be like:
if ($base eq 'g' or $base eq 't') { ... }
... and you don't need to worry about capital letters at all.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Syntax error
by Eily (Monsignor) on Feb 10, 2014 at 09:21 UTC |