in reply to Re^2: DNA Reverse Complementin 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"), $/;
print scalar revcompl("CGTAGTC"), $/;
There was just a post on this issue this morning: Mini-Tutorial: Scalar vs List Assignment Operator.
Bought a souvenir
Emailed all my friends about it
Got blowed up
Hit him right dead in the jaw
Made it awkward
Took a selfie
Want to go home
Results (307 votes). Check out past polls.