Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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.

Replies are listed 'Best First'.
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2017-01-21 09:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (183 votes). Check out past polls.