DBR (stands for Database Repository) is a fairly directed attempt at an Object Relational Mapper. It is not trying to be all things to all people. It's focus is on managing large schemas with an emphasis on metadata, rather than defining schema structure with code.
Get the source:
git clone git://github.com/dnorman/perl-DBR.git
The examples work right out of the box
cd example perl example_basic.pl perl example_join.pl perl example_moderate.pl ...
perl Makefile.PL make sudo make install
To run the tests: