in reply to Re: Displayng the correct codon in a DNA string.
in thread Displayng the correct codon in a DNA string.

Specifically, because the OP's push @proteinString, $codon .= codonToAminoAcid($codon); will append the 'L' to 'TTA', then push the entire string to the array, whereas AM's suggested push @proteinString, codonToAminoAcid($codon); just pushes the 'L' into the array.

Replies are listed 'Best First'.
Re^3: Displayng the correct codon in a DNA string.
by Anonymous Monk on Apr 25, 2016 at 16:57 UTC
    Thank you all! I certainly appreciate the insightful and beneficial feedback.