Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: (Golf) RNA Genetic Code Translator

by srawls (Friar)
on Jul 06, 2001 at 03:54 UTC ( #94346=note: print w/ replies, xml ) Need Help??


in reply to Re: (Golf) RNA Genetic Code Translator
in thread (Golf) RNA Genetic Code Translator

I can shave 4 chars off of that:

$_="KNNKtIIIMRSSRQHHQplr.YY.sLFFL.CCWEDDEavg";s/[a-z]/uc$&x4/eg; join"",(/./g)[map{$x=0;$x=$x*4|6&ord for/./g;$x/2}pop=~/.../g]

The 15 year old, freshman programmer,
Stephen Rawls


Comment on Re: Re: (Golf) RNA Genetic Code Translator
Download Code

Log In?
Username:
Password:

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

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

    My favorite cookbook is:










    Results (156 votes), past polls