Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Extract the lines

by RMGir (Prior)
on Aug 26, 2010 at 11:46 UTC ( #857425=note: print w/replies, xml ) Need Help??


in reply to Extract the lines

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://857425]
help
Chatterbox?
[LanX]: oh "yet" .. got it
[Eily]: LanX: sadly I wasn't born a monk
[LanX]: #SoSad #Shame
LanX silently plays Springsteen in the background "♪..♫ ... I'm on fire ..."

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2017-03-24 14:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (304 votes). Check out past polls.