Re: [htdig] Scripts that use GDBM_File


Joe R. Jah (jjah@cloud.ccsf.cc.ca.us)
Sun, 26 Sep 1999 09:59:29 -0700 (PDT)


On Sun, 26 Sep 1999 loic@ceic.com wrote:

> Date: Sun, 26 Sep 1999 14:14:13 +0200 (MEST)
> From: loic@ceic.com
> To: "Joe R. Jah" <jjah@cloud.ccsf.cc.ca.us>
> Cc: htdig@htdig.org
> 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        jjah@cloud.ccsf.cc.ca.us

------------------------------------ To unsubscribe from the htdig mailing list, send a message to htdig@htdig.org containing the single word unsubscribe in the SUBJECT of the message.



This archive was generated by hypermail 2.0b3 on Sun Sep 26 1999 - 10:04:35 PDT