On Thu, 29 Aug 2002 16:11:17 -0700 Jared Still <[EMAIL PROTECTED]> wrote:
>
> This is the essentials of what worked for me after
> studying subclass.t:
>
>
> package PDBA::CM;
> require DBI;
> @ISA=qw(DBI);
>
> __PACKAGE__->init_rootclass;
>
> use Carp;
>
This is the essentials of what worked for me after
studying subclass.t:
package PDBA::CM;
require DBI;
@ISA=qw(DBI);
__PACKAGE__->init_rootclass;
use Carp;
use strict;
use warnings;
use diagnostics;
sub new {
# bunch of code goes here
}
package PDBA:
On Sun, 25 Aug 2002 13:27:32 +0200 "NYIMI Jose (BMB)" <[EMAIL PROTECTED]> wrote:
> I didn't test the code I suggest below but may be this can provide you
> Some new ideas:
>
> package Db;
>
> use base qw(DBI);
> use strict;
This is basically what John Coy was trying in the first place. It won
-Original Message-
From: John Coy [mailto:[EMAIL PROTECTED]]
Sent: Saturday, August 24, 2002 5:49 AM
To: [EMAIL PROTECTED]
Subject: Re: how to properly extend DBI class?
>You missed a lot in building package and classes.
>Look at perlmod and perlobj documentation.
I ready very careful
sn't belong to the Db
subclass I created.
As you can tell, I'm not that good with OO programming, but I'd like to learn.
Assistance is appreciated.
John
---
John Coy
CTO/VP Network Operations
ANCI/Arkansas.Net
-Original Message-
From: John Coy [mailto:[EMAIL PROTECTED]