koti688 has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks, Can u Please tell me how to connect to Berkely Db using Perl .
I have two files , i need to access these file using perl. These files with .db extension contains Keys and its Signatures.
I need to List out the keys and vaules and signatures respectively.
I Have installed Berkely-DB(0.22), BerkelyDB-Lite,DB_File(1.816) using PPM also.
Please tell me if u know any thing , about connecting to berkely Db using perl even.
Thanks in advance.
Koti.
  • Comment on Help in Connecting to Berkely DB using PERL

Replies are listed 'Best First'.
Re: Help in Connecting to Berkely DB using PERL
by Anonymous Monk on Nov 06, 2008 at 09:58 UTC
Re: Help in Connecting to Berkely DB using PERL
by Perlbotics (Archbishop) on Nov 06, 2008 at 09:59 UTC

    Perl comes with out-of-the box Berkely-DB support. Maybe reading DB and DB_File provides an answer? You could tie the DB to a hash and use that to access the values by key...
    Or is there a problem opening the DB? Maybe the files are named *.db but aren't in Berkely-DB format?

    Update: Wrong link removed. Example link added.

    A reply falls below the community's threshold of quality. You may see it by logging in.