in reply to
stupid/simple mistake
You need the /g switch to your regex match:
for ($sequence =~ /$substring/g) {
[download]
and, of course, increment
$count
in the inner loop.
Comment on
Re: stupid/simple mistake
Select
or
Download
Code
In Section
Seekers of Perl Wisdom