Comments on: DBIx::Class and Koha https://blog.bigballofwax.co.nz/2009/07/25/dbixclass-and-koha/ Just random ranting and raving Mon, 27 Jul 2009 04:25:52 +0000 hourly 1 http://wordpress.com/ By: Chris https://blog.bigballofwax.co.nz/2009/07/25/dbixclass-and-koha/comment-page-1/#comment-265 Mon, 27 Jul 2009 04:25:52 +0000 http://blog.bigballofwax.co.nz/?p=1195#comment-265 The plan is to pool schema, the same way we currently pool $dbh, so it will only create a new database connection if it needs to. So $self will be used.

Like

]]>
By: Joe Atzberger https://blog.bigballofwax.co.nz/2009/07/25/dbixclass-and-koha/comment-page-1/#comment-264 Sat, 25 Jul 2009 15:38:28 +0000 http://blog.bigballofwax.co.nz/?p=1195#comment-264 One longer line got truncated here.

You might prefer to make $schema an EXPORT_OK from Context, since you’d be doing the same thing over and over. At least, it seems like more of a class method since $self is never used.

Like

]]>