Is there a Perl ORM with database reverse engineering? Is there a Perl ORM with database reverse engineering? database database

Is there a Perl ORM with database reverse engineering?


There is a list of recommended ORM modules at the P5P wiki.

Rose::DB::Object and DBIx::Class can generate classes for you from an existing database schema, and can also write them out to a set of Perl module files.


DBIx::Class has DBIx::Class::Schema::Loader which generates classes for you from an existing datbase and can also write them out to files. It it limited to loading a single schema though.


There are three commonly used ORMs in Perl, Class:DBI, DBIx::Class and Rose::DB::Object. According to this page at PerlMonks, they can all load the metadata from the database, but it doesn't say how.