in reply to explanation of code pls
For each iteration where this test succeeds, the length of the string that follows the match is assigned to $start -- because the final "TAA or TAG or TGA" part of the match is used within "(?= )", it gets counted/included as part of the string that follows the match. (Look up the $' variable in perlvar, and the "(?=pattern)" construct in perlre.)
|
|---|