Laurent_R said Except that the OP said: without using s// or tr///. That's part of the assignment.my $rc = reverse uc($dna) =~ tr/ATGC/TUCG/r;
Yes, my bad.
In reply to Re^2: Trying to use substring to find a reverse complement in DNA,
by Cristoforo
in thread Trying to use substring to find a reverse complement in DNA,
by tryingnottofailmytes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |