in reply to Trying to use substring to find a reverse complement in DNA,
The condition on your for loop is the wrong way round, you need to use less than not greater than, here:-
$i>$length-1;If you want to know how to fix these things for yourself try the basic debugging checklist
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Trying to use substring to find a reverse complement in DNA,
by AnomalousMonk (Archbishop) on Dec 06, 2015 at 02:32 UTC | |
Re^2: Trying to use substring to find a reverse complement in DNA,
by tryingnottofailmytes (Novice) on Dec 05, 2015 at 23:24 UTC |
In Section
Seekers of Perl Wisdom