[Melbourne-pm] Moose vs DBIx::Class
myfwhite at gmail.com
Wed Mar 27 23:07:57 PDT 2013
I use DBIx::Class with DBIx::Class::Schema::Loader's make_schema_at.
make_schema_at has an option "use_moose" which I have not used because I am
using Mouse mostly rather than Moose. I did investigate using it and
converting them to Mouse, but that didn't pan out to be a single character
change in each module like I hoped. However, the output from using that
flag seemed like normal Moose, and perfectly suitable for adding methods
to. Documentation for it is at
*Email:* myfwhite at gmail.com
On Thu, Mar 28, 2013 at 3:29 PM, Malcolm Herbert <melbourne-pm at mjch.net>wrote:
> I'm at a point where I want to use Moose-style classes with DBIx::Class
> style classes. At the moment I've got two distinct sets of code with
> almost the same content in each ... obviously this isn't an ideal
> situation as there's two sets of things to maintain ...
> What do other people use in this situation? DBIx::Class::MooseColumns
> looks promising, however it claims to be alpha quality .. has anyone
> used this module?
> Malcolm Herbert This brain intentionally
> mjch at mjch.net left blank
> Melbourne-pm mailing list
> Melbourne-pm at pm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Melbourne-pm