On Mon, Jan 07, 2002 at 07:24:36AM -0500, Terrence Brannon wrote:
> On Friday, January 4, 2002, at 07:40 PM, Tim Bunce wrote:
> 
> > Anyone not very comfortable with assigning to @ISA should not
> > be trying to subclass the DBI!
> >
> > But having said that, it certainly could be made easier...
> 
> My experience is that an application needing extended database 
> functionality beyond DBI should make use of a $dbh in a container 
> class, instead of subclassing DBI...
> 
> You are right, that the most common way to extend a class with 
> new functionality is to subclass it, but as I am sure your Perl 
> Whirl talk with Damian will reveal, it is not the only way.

Trust me when I say that I'm very well aware that it's not the only way.

I am in no way suggesting just because the DBI now documents how
it can be subclassed that most future DBI applications should be
written by subclassing the DBI.

Tim.

Reply via email to