On Tue, Mar 29, 2005 at 04:58:53PM -0600, Brandon Metcalf wrote:
> In trying to take your suggesting and embed a DB handle in my own
> object, this is what i've come up with.  However, a error is being
> thrown when DBI is trying to destory the handle which I understand.
> What I don't get is how to do this properly.

Embedding is simple has-a relationship not an IS-A. So you don't
want to include any DBI classes in your @ISA:

>   @ISA = qw{ Exporter DBI::db };

Tim.

Reply via email to