Syntactic Confectionery Delight | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
See DBIx::Class which is the most widely used Perl ORM. The docs are comprehensive, but you will want to start with a tutorial or test DB, not launch into your real app. Depending on your preference you start with your DB and make classes, or start with classes and make your DB. The latter approach would allow you to do what you want. Personally I am comfortable writing SQL so I choose the former, generating my classes. DBIx allows you to modify the generated schema classes, eg by using Moose or adding custom functions, and preserves your changes upon regeneration after you alter the DB. Hope this helps!
The way forward always starts with a minimal test.
In reply to Re: Associating Moose class with database table
by 1nickt
|
|