There are plenty of alternatives,like:
$base eq 'A' || $base eq 'T' || $base eq 'C' || $base eq 'G'
Cheers Rolf
( addicted to the Perl Programming Language)
In reply to Re: If/else within a foreach loop to check strings within an array
by LanX
in thread If/else within a foreach loop to check strings within an array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |