By the way, there is already a builtin function for this. Your script could be written as
$_= uc($_); tr/ATGC/TACG/;
In reply to Re: problems with converting a string character by character
by jethro
in thread problems with converting a string character by character
by cburger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |