Problems? Is your data what you think it is? | |
PerlMonks |
Re: numbers not adding up!by pbeckingham (Parson) |
on Aug 07, 2004 at 23:09 UTC ( [id://380971]=note: print w/replies, xml ) | Need Help?? |
Found it - in not using the recommended use strict, you have two variables with very similar names - $segSize and $seqSize. The latter, not being defined, adds nothing to $offset. Make all your code start with: and this particular problem will never go unnoticed again. pbeckingham - typist, perishable vertebrate.
In Section
Seekers of Perl Wisdom
|
|