Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Keep It Simple, Stupid
 
PerlMonks  

Re: Need help with code

by McA (Deacon)
on Oct 19, 2012 at 08:32 UTC ( #999881=note: print w/ replies, xml ) Need Help??


in reply to Need help with code

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
McA


Comment on Re: Need help with code
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://999881]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2014-04-17 23:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (458 votes), past polls