Do you know where your variables are? | |
PerlMonks |
Re^2: Urgent help required. Need a code to translate a given nucleotide sequence into proteins using codon table.by kennethk (Abbot) |
on Feb 13, 2013 at 19:53 UTC ( [id://1018617]=note: print w/replies, xml ) | Need Help?? |
For future reference, perlmonks linkifies anything between [ and ], so locations in the posted code that display as links should actually be array indices or character classes. For example
is printed above as if ( $_ 0 =~ / GGAGCU /i ) { return G;} # Glycine; and should therefore actually probably be translated as barring ambiguities with regard to whitespace counts. Not that I've done this before.... #11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
In Section
Seekers of Perl Wisdom
|
|