<br><br><div><span class="gmail_quote">On 9/27/06, <b class="gmail_sendername">Jonathan Rockway</b> <<a href="mailto:jon@jrock.us">jon@jrock.us</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>> Yes, I think you should change the DBIx::Class::Schema line to<br>> DBIx::Class::Schema::Loader.<br><br>The thing is, the tutorial teaches you how to use DBIC::Schema, not<br>DBIC::Schema::Loader. It probably would have been better to use
<br>DBIC::Schema::Loader, though... should the tutorial be changed, or<br>should we leave things as they are?<br><br>Thoughts from anyone here?</blockquote><div><br>You're right, you're not using the Loader in your tutorial (I guess I was confusing this with other Tutorials?). TIMTOWTDI with the DBIC model stuff, feel free to do it that way.
<br><br>If it were me I'd depend on ::Loader and replace all of that manual schema stuff with a simple create=static invocation of the loader. Its easier for a beginner following a tutorial, yet leaves a fully editable Schema for further customization.
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> DBIx::Class::Schema is included in DBIx::Class, which you already have a<br>> dependancy for.
<br><br>As an aside, I like to depend on modules rather than distros -- that way<br>if it gets split up later my app will continue to work.</blockquote><div><br>Fair enough. <br></div><br><div> </div><br></div>