<div dir="ltr">I sometimes use DBIx::Class::Schema::Loader (<a href="https://metacpan.org/pod/DBIx::Class::Schema::Loader#make_schema_at">https://metacpan.org/pod/DBIx::Class::Schema::Loader#make_schema_at</a>) to create the classes. One of the parameters you give it is use_moose (<a href="https://metacpan.org/pod/DBIx::Class::Schema::Loader::Base#use_moose">https://metacpan.org/pod/DBIx::Class::Schema::Loader::Base#use_moose</a>), which generates Moose classes for the schema.<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">Kind Regards,<br>Myf White<br><br><b style="color:rgb(102,102,102)">Phone: </b><span style="color:rgb(102,102,102)">0413 757 052</span><b style="color:rgb(102,102,102)"><br>Email:</b><span style="color:rgb(102,102,102)"> </span><a href="mailto:myfwhite@gmail.com" target="_blank">myfwhite@gmail.com</a></div></div>
<br><div class="gmail_quote">On Wed, Apr 15, 2015 at 9:57 AM, Kahlil Hodgson <span dir="ltr"><<a href="mailto:kahlil.hodgson@dealmax.com.au" target="_blank">kahlil.hodgson@dealmax.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">All my examples are way too complicated, but Pinto<br>
(<a href="https://metacpan.org/pod/Pinto" target="_blank">https://metacpan.org/pod/Pinto</a>) has a simple example with only a<br>
handful of tables.<br>
<br>
See <a href="https://metacpan.org/source/THALJEF/Pinto-0.09997/lib/Pinto/Schema" target="_blank">https://metacpan.org/source/THALJEF/Pinto-0.09997/lib/Pinto/Schema</a><br>
<br>
Hope this helps.<br>
<br>
Kal<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Melbourne-pm mailing list<br>
<a href="mailto:Melbourne-pm@pm.org">Melbourne-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/melbourne-pm" target="_blank">http://mail.pm.org/mailman/listinfo/melbourne-pm</a><br>
</div></div></blockquote></div><br></div>