[vox-tech] perl db question

Peter Jay Salzman vox-tech@lists.lugod.org
Wed, 6 Mar 2002 10:33:27 -0800


i've never used a real database in my life.   first attempt:

Can't locate object method "TIEHASH" via package "/home/p/.car/blah" at
./newmain.pl line 97, <> line 7 (#1)
(F) You said to do (or require, or use) a file that couldn't be
found. Perl looks for the file in all the locations mentioned in @INC,
unless the file name included the full path to the file.

use DB_File;
...
tie %vehicle, $control, 'data', O_RDWR|O_CREAT|O_EXCL, 0644;

help?   if someone can send me a "hello world" type program that uses
BSD-DB, that would be really useful.

btw, i looked for henry's notes from his lugod talk on perl db; they
don't seem to be on the website.  :(

pete