Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^4: DNA Reverse Complement

by Your Mother (Chancellor)
on Aug 20, 2009 at 17:57 UTC ( #790157=note: print w/replies, xml ) Need Help??


in reply to Re^3: DNA Reverse Complement
in thread DNA Reverse Complement

Of course it does. I'm guessing you called it in scalar context and got the count of the transform; e.g., 1.

print revcompl("CGTAGTC"), $/; # GACTACG print scalar revcompl("CGTAGTC"), $/; # 1

There was just a post on this issue this morning: Mini-Tutorial: Scalar vs List Assignment Operator.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://790157]
help
Chatterbox?
[choroba]: My average XP per node lowered in the last three months :(
[choroba]: (check my homenode for the graph link and the tool to create it)
[LanX]: blocked by FW :(
oldtechaa takes a cookie from the platter on the sideboard.

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2017-04-26 12:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (474 votes). Check out past polls.