in reply to Dynamic Lookups on SDBM Files

You might try using DBD::DBM which comes in recent versions of DBI. It should work directly on your SDBM files (or other DBM files with or without MLDBM) and provide DBI/SQL access to them for greater ease of maintainability. If you go this route, I'd be interested to hear how it benchmarks against other methods you've tried.

Replies are listed 'Best First'.
Re^2: Dynamic Lookups on SDBM Files
by periapt (Hermit) on Aug 04, 2004 at 12:24 UTC
    Hmmm, this might be helpful for those after the fact queries on the lookup hashes. I'll take a look at it. Thanks.

    PJ
    unspoken but ever present -- use strict; use warnings; use diagnostics; (if needed)