Re: "Inappropriate file type or format" error when accessing berkely DB file via perl

2006-05-04 Thread mark
P5-BerkeleyDB proved to be a functional solution for me at any rate, many thanks for the pointer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTE

Re: "Inappropriate file type or format" error when accessing berkely DB file via perl

2006-05-03 Thread Parv
in message <[EMAIL PROTECTED]>, wrote mark thusly... > I am trying to access my squidguard berkely db files via perl and > DB_File (as per the SquidGuard docs) ... > #!/usr/bin/perl > use DB_File; > my (%url,%domain); > > $DB_BTREE->{compare} = \&domainmatch;

"Inappropriate file type or format" error when accessing berkely DB file via perl

2006-05-03 Thread mark
I am trying to access my squidguard berkely db files via perl and DB_File (as per the SquidGuard docs) When I run the following perl snippet #!/usr/bin/perl use DB_File; my (%url,%domain); $DB_BTREE->{compare} = \&domainmatch; my $domain_db = tie(%domain, "DB_File", "/v