Dan Massey wrote:

> Then 'makemap hash testfile < testfile' , so now I have a testdile.db as
> well with one entry int as such:

That's probably a Berkeley DB file, not a DBM file.

You can access it like this:

use DB_File;

my %hash;
tie %hash, 'DB_File', '/etc/mail/testfile.db';

# Do stuff with %hash

untie %hash;

--
David.
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to