Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: problems with converting a string character by character

by jethro (Monsignor)
on Feb 02, 2011 at 01:09 UTC ( [id://885637]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (4)
As of 2025-11-15 02:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (72 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.