did you mean the second line to read
With that, I get the counts the OP expects.++$counts{uc($_)} for $a =~ /[TCAG]{3}/sg;
All great truths begin as blasphemies.
― George Bernard Shaw, writer, Nobel laureate (1856-1950)
In reply to Re^2: How can I get correct result in counting 3-letter words?
by NetWallah
in thread How can I get correct result in counting 3-letter words?
by supriyoch_2008
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |