perl-Tie-DBI -- Tie hashes to DBI relational databases
http://search.cpan.org/dist/Tie-DBI/
This distribution contains Tie::DBI and Tie::RDBM, two modules that
allow you to tie associative arrays to relational databases using the DBI
library. The hash is tied to a table in a local or networked database.
Reading from the hash retrieves values from the datavbase. Storing into
the hash updates the database (if you have sufficient privileges).