Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: Algorithm To Select Lines Based On Attributesby ~~David~~ (Hermit) |
on Jan 15, 2009 at 18:06 UTC ( [id://736625]=note: print w/replies, xml ) | Need Help?? |
Thanks for the suggestions. I have one question about bullet #2: I need to read to the end of the file before I enter this subroutine because I need to know how some information at the bottom of the file before I decide which rule set to use. I figured it would be better to cache that DEFECTLIST into memory rather than re-reading the file again. Is that best? Or, is there someway I could store the position in the file of the beginning and the end of the defect list, and always ensure that all characters between it are the DEFECTLIST? I don't have experience with stuff like that... I will definately think about using Memoize and see if I can implement it. Thanks again.
In Section
Seekers of Perl Wisdom
|
|