Hmmm, copy-and-paste is too hard? I did not write a double loop. And your result just doesn't make much sense. In fact, it doesn't make any sense.while ($sequence=<FILE>){ foreach($sequence =~ /$substring/g) { #print "malakas\n"; $count += () = /$substring/g;
Considering that spoon-feeding isn't working for you, I don't know what else to do.
In reply to Re^4: stupid/simple mistake
by JavaFan
in thread stupid/simple mistake
by gogoglou
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |