|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re: What is wrong in this code???by brap (Pilgrim) |
| on Dec 07, 2012 at 21:08 UTC ( #1007827=note: print w/ replies, xml ) | Need Help?? |
|
Hey anonymous, I could be way off base here, but it almost sounds like you want an array of counters, where each element of the array represents the position of the line you're counting. Something along the order of (untested):
To find out what you have in, say, position 56, look at $count_A[56], $count_T[56], $count_G[56], and $count_C[56].
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||