in reply to
Re^2: DNA Reverse Complement
in thread DNA Reverse Complement
The above sub does not work
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"), $/;
print scalar revcompl("CGTAGTC"), $/;
There was just a post on this issue this morning: Mini-Tutorial: Scalar vs List Assignment Operator.
Non-existent; I don't have TV
Non-existent; my TV doesn't have/need a remote
Under my control; I watch alone
Under the control of whoever shouts loudest
Under the control of whoever gets it first
One of many, and the TV has a mind of its own
Results (130 votes),