I need to use gdbm databases with Perl but get the error:
"Can't locate object method "TIEHASH" via package "GDBM_FILE" " at
my_first_db.pl line 5."
when using this code:
#! /bin/perl -w
tie(%db, "GDBM_FILE", "my_db", &GDBM_WRCREAT, 0644);
Is it a bug in Perl5.003, or is there a workaround?
I am using Perl5.003 with the gdbm-1.7.3 library statically linked, both
compiled with gcc-18.104.22.168 on a Sun ULTRA running Solaris2.5.