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.
Read a book on Perl
Written a book on Perl
Contributed to the Perl source code
Debugged someone else's script
Played Perl Golf
Used regular expressions to save the day
Used Perl for a certain amount of time (please specify)
Invested a certain amount of man-hours in learning Perl (please estimate)
Visited at least x Perl related events
(Co)maintain at least x active (up-river) CPAN modules
Forgotten you were not Larry Wall
One can never truly know Perl
Results (277 votes). Check out past polls.