in reply to char substitution without regexes
my %complement = ( a t g c ); %complement = ( %complement, reverse %complement ); print map $complement{$_}, reverse split //, $chain;
%hash and $string are awful names, so I changed them.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: char substitution without regexes
by jwkrahn (Abbot) on Sep 30, 2010 at 17:59 UTC | |
by ikegami (Patriarch) on Sep 30, 2010 at 18:10 UTC | |
by jwkrahn (Abbot) on Sep 30, 2010 at 18:16 UTC | |
by ikegami (Patriarch) on Sep 30, 2010 at 18:28 UTC |