No such thing as a small change | |
PerlMonks |
Re: Need help with codeby McA (Priest) |
on Oct 19, 2012 at 08:32 UTC ( [id://999881]=note: print w/replies, xml ) | Need Help?? |
Hi, you call codons in a loop. Every time codons is called you instatiate the hash %genetic_code. This seems unnecessary. Put it outside the function body as a file scoped variable (aka file global variable). Best regards
In Section
Seekers of Perl Wisdom
|
|