in reply to dbmopen question

After the dbmopen, you can call ref tied %YOUR_DBM to get the class of the hidden object.

And contrary to some people's opinions, dbmopen is a fine function to give simple interface to persistent storage, and will continue to be supported throughout the lifetime of Perl5.

-- Randal L. Schwartz, Perl hacker