for ($i =0;$i## for my $i ( 0 .. length( $dna ) - 1 ) { #### $nucleotide = randombase() until $nucleotide ne substr $dna, $position, 1;