in reply to problems with converting a string character by character
By the way, there is already a builtin function for this. Your script could be written as
$_= uc($_); tr/ATGC/TACG/;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: problems with converting a string character by character
by jwkrahn (Abbot) on Feb 02, 2011 at 01:17 UTC |