in reply to Image::Seek Database Stuck on Key Number

That's way too much for me to wade through. Maybe there's someone who's an expert on your exact problem and can answer your question, but until they do, you might want to try reducing your problem to a very simple script. By that I mean, make the shortest script you can that demonstrates your problem. Then you'll either (a) solve the problem yourself or (b) have an easier time finding help here.

--Pileofrogs

  • Comment on Re: Image::Seek Database Stuck on Key Number

Replies are listed 'Best First'.
Re^2: Image::Seek Database Stuck on Key Number
by socrtwo (Sexton) on Aug 05, 2009 at 20:10 UTC
    I think I might have an answer, from http://search.cpan.org/~simon/Image-Seek-0.01/lib/Image/Seek.pm:

    cleardb

    "Clears the internal database. Note that loaddb will load into memory a bunch of data that you may already have - it will duplicate rather than replace this data, so results will be skewed if you load a database multiple times without clearing it in between."

    Update

    The results are somewhat promising, but I'm going to start from scratch and rebuild the database.

    Update

    Putting the cleandb command in the file before the loaddb command and telling the module to export the function sort of works but it causes the database keys to count down instead of iterate up. I also tried putting it after loaddb, but that seems to result in a hung makedb.pl file and no redirection.

    Anybody have any ideas on how to use cleandb correctly?