On Sun, 26 Sep 1999 [EMAIL PROTECTED] wrote:
> Date: Sun, 26 Sep 1999 14:14:13 +0200 (MEST)
> From: [EMAIL PROTECTED]
> To: "Joe R. Jah" <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: [htdig] Scripts that use GDBM_File
>
> Joe R. Jah writes:
> >
> > Hi Folks,
> >
> > I have been trying to take advantage of some of the scripts in contrib
> > folder; yesterday I noticed that five of them, changehost/changehost.pl,
> > doclist/doclist.pl, doclist/listafter.pl, urlindex/urlindex.pl, and
> > wordfreq/wordfreq.pl, have an identical problem: they all die on the
> > following line:
> >
> > tie(%docdb, GDBM_File, $dbfile, GDBM_READER, 0) die ...
> >
>
> Well, since htdig uses Berkeley DB files and not GDBM files you could
> just change the tie call to DB_File. I'm not sure if the internal structure
> of the data stored in the file is still compatible, though :-}
Thanks Loic; I replaced GDBM_File with DB_File in the tie call, but now I
get:
Can't locate object method "TIEHASH" via package "DB_File" at doclist.pl line 13.
Can't locate object method "TIEHASH" via package "DB_File" at listafter.pl line 27.
..
Regards,
Joe
--
_/ _/_/_/ _/ ____________ __o
_/ _/ _/ _/ ______________ _-\<,_
_/ _/ _/_/_/ _/ _/ ......(_)/ (_)
_/_/ oe _/ _/. _/_/ ah [EMAIL PROTECTED]
------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word unsubscribe in
the SUBJECT of the message.