I think the main issue is that you're missing the most important part of 
t/subclass.t, the call to init_rootclass that identifies your subclass for the 
DBI dispatcher.  You should never need a bless call anywhere in your subclass, 
DBI should handle it automagically.  I'd wager that most of the unpredictable 
behavior you're seeing is stemming from this.

I've attached our DBI subclass that we use for all of our applications, because 
it's real 100% working code that's currently in production service.  (It also 
features good use of private attributes, so consider this a response to both 
messages.)  Feel free to use it as a template to rework things on your end.

-- 
Stephen Clouse <[EMAIL PROTECTED]>
Senior Programmer, IQ Coordinator Project Lead
The IQ Group, Inc. <http://www.theiqgroup.com/>

Attachment: DBI.pm
Description: DBI.pm

Attachment: msg07239/pgp00000.pgp
Description: PGP signature

Reply via email to