We don't bite newbies here... much | |
PerlMonks |
Re: substr is behaving differently with small vs large stringsby qq (Hermit) |
on Jul 07, 2004 at 21:37 UTC ( [id://372560]=note: print w/replies, xml ) | Need Help?? |
I don't think substr is your problem:
If you save the return from editcontig to a file, and find the character position that should be the start of the substr, is it actually off? Its more likely that editconfig is stripping out more or less than it should. Perhaps there is some other character in your longer file? BTW, you can condense editconfig to something like:
and you could validate the output by adding:
qq (who knows nothing about genes)
In Section
Seekers of Perl Wisdom
|
|