in reply to Time to upgrade tp OO Perl?

Take a look at DBIx::Class, it gets things right so you don't have too. Plus it will help you decouple your database access from your business logic more, which is always a good thing. If you don't want to go full on into the world of ORMs, then at least give Moose a look instead of using the out-of-the-box DIY OO Perl.

-stvn

Replies are listed 'Best First'.
Re^2: Time to upgrade tp OO Perl?
by Your Mother (Archbishop) on Apr 29, 2008 at 00:26 UTC

    Strong second. It's somewhat crazy to roll your own DB interface at this point in the game. It's a good learning exercise but you will never get it as right as DBIC or Rose::DB do working on your own the first, second, or third time out of the gate. And if you want to learn deeper stuff without all the hard knocks you can study that code and get on the dev lists.