Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Extract the linesby RMGir (Prior) |
on Aug 26, 2010 at 11:46 UTC ( [id://857425]=note: print w/replies, xml ) | Need Help?? |
Unlikely in a homework exercise, but if your file was REALLY large, this is a perfect place to use the brilliant File::SortedSeek - it would let you find your matching lines in O(log n) time.
Mike
In Section
Seekers of Perl Wisdom
|
|