[IRCServices] Database Format

Andy Smith andy at strugglers.net
Sat Jun 30 03:47:00 PDT 2001


On Fri, 29 Jun 2001 20:36:05 -0500, "Adam Fladwood" <adam at wiredrave.com>
wrote:

>Hi,
>
>I'm just trying to figure out what format the database files are in so
>that I can read them with perl.  Has anybody written a perl script that
>can read the .db files by chance?
>
>I tried dbm, but it doesn't work *shrug*.
>
>Any help would be appreciated!  Thanks :)

You will need to read the header files to discover the structure of the
files and then use perl's unpack function.

I have some examples if you want, but nothing that will read every bit of an
entire database.  Just snippets written for specific tasks.

-- 
Andy Smith <andy at strugglers.net>
Blitzed IRC Network
http://www.blitzed.org