Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Halve the difference

by VSarkiss (Monsignor)
on Aug 22, 2001 at 18:49 UTC ( #106969=note: print w/ replies, xml ) Need Help??


in reply to Halve the difference
in thread Removing old records from log files

Very clever, tachyon ++. I first thought "How do you do binary search in a file with variable-length records?" Your answer is simple and effective.

Please consider linking to this from Tutorials.


Comment on Re: Halve the difference
Re: Re: Halve the difference
by tachyon (Chancellor) on Aug 27, 2001 at 11:18 UTC

    I have wrapped the concept in a module with a variety of useful widgets. It's at File::Seek

    cheers

    tachyon

    s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://106969]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2015-07-04 22:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls