The Perl 5 module DBICx::MapMaker automatically creates a DBIx::Class result source for "many to many" relationship. WWW: http://search.cpan.org/dist/DBICx-MapMaker/