hey lets just come up with a common way to title the subject so our filters
work all of the time.
eg. RE: perl-dbi-list: ISA inheritance vs. DBI?
or the list bot just include that in the subject no matter what. even if
someone clicks on reply to all or reply or whatever.
-Original Message
%% Ask Bjoern Hansen <[EMAIL PROTECTED]> writes:
abh> Ah, forward the mails in question with full headers to [EMAIL PROTECTED]
abh> and I'll take a look. It sounds like a borken MUA somewhere else.
Unfortunately I started this thread like a month ago, and those emails
have long left my inbox
%% Ask Bjoern Hansen <[EMAIL PROTECTED]> writes:
abh> On Mon, 21 May 2001, Tim Bunce wrote:
>> > > This is annoying; that's twice today I've received a private
>> > > email from someone on the list, with just me in the headers,
>> > > only to have it show up later with _both_ me _and_ th
On Mon, 21 May 2001, Paul D. Smith wrote:
[...]
> I'm quite familiar with the reply-to munging arguments, and I fully
> subscribe to the side of the fence that condemns reply-to munging, I
> don't want that setting changed.
>
> My comment was that I was receiving two copies of the mail where the
On Mon, 21 May 2001, Tim Bunce wrote:
> > > This is annoying; that's twice today I've received a private email from
> > > someone on the list, with just me in the headers, only to have it show
> > > up later with _both_ me _and_ the rest of the list in the headers.
[ assuming we talk about Reply
On Sat, Apr 21, 2001 at 12:14:09AM +0200, M.W. Koskamp wrote:
>
> - Original Message -
> From: Paul D. Smith <[EMAIL PROTECTED]>
> To: M.W. Koskamp <[EMAIL PROTECTED]>
> Cc: dbi-users <[EMAIL PROTECTED]>
> Sent: Saturday, April 21, 2001 12:04 AM
&g
>>>>> "Paul" == Paul D Smith <[EMAIL PROTECTED]> writes:
Paul> %% Regarding Re: ISA inheritance vs. DBI?; you wrote:
rls> Let class methods be class methods. Instance methods be instance
rls> methods. Especially for constructors.
rls> Just anot
%% "M.W. Koskamp" <[EMAIL PROTECTED]> writes:
>> When I try to use $sth->errstr, for example, from within my classes, I
>> get a reference error.
>>
>> or croak "DB Error: $this->errstr\n";
>>
>> $sth->execute()
>> or croak "DB Error: $sth->errstr\n";
mwk> The arrow isnt interp
>
> There is one issue left:
>
> When I try to use $sth->errstr, for example, from within my classes, I
> get a reference error.
>
> or croak "DB Error: $this->errstr\n";
>
> $sth->execute()
> or croak "DB Error: $sth->errstr\n";
> DB Error: MyDB::DB::st=HASH(0x82e78a0)->err
%% "M.W. Koskamp" <[EMAIL PROTECTED]> writes:
mwk> I have the same problem. Possibly a feature of the mailinglist.
mwk> You have to choose reply all, to get it in the mailing list cause
mwk> hitting reply only, will send it to just the private email
mwk> adress. After that you will recei
%% Steve Sapovits <[EMAIL PROTECTED]> writes:
ss> It's not that hard. I subclassed it for the purpose of allowing
ss> logical database names that we map to the real DBI resource
ss> strings. Among other things, that gives us one place to change
ss> where a given database/schema really
- Original Message -
From: Paul D. Smith <[EMAIL PROTECTED]>
To: M.W. Koskamp <[EMAIL PROTECTED]>
Cc: dbi-users <[EMAIL PROTECTED]>
Sent: Saturday, April 21, 2001 12:04 AM
Subject: Re: ISA inheritance vs. DBI?
> This is annoying; that's twice today I'v
This is annoying; that's twice today I've received a private email from
someone on the list, with just me in the headers, only to have it show
up later with _both_ me _and_ the rest of the list in the headers.
Is this a "feature" of the dbi-users list somehow? It's a pain, since
by the time I ge
- Original Message -
From: Paul D. Smith <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 20, 2001 5:56 PM
Subject: Re: ISA inheritance vs. DBI?
> %% "M.W. Koskamp" <[EMAIL PROTECTED]> writes:
>
> mwk> sub connect{
> mwk>
> From: Paul D. Smith [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, April 20, 2001 11:56 AM
> To: [EMAIL PROTECTED]
> Subject: Re: ISA inheritance vs. DBI?
>
> %% "M.W. Koskamp" <[EMAIL PROTECTED]> writes:
>
> mwk> sub connect{
> mwk> my
%% "M.W. Koskamp" <[EMAIL PROTECTED]> writes:
mwk> sub connect{
mwk> my $class = shift;
mwk> my $class = ref($class) || $class;
mwk> return bless $class->SUPER::connect(@_), $class;
mwk> }
I don't see how either of these are any different from what I said I
already tried in
%% Regarding Re: ISA inheritance vs. DBI?; you wrote:
rls> Let class methods be class methods. Instance methods be instance
rls> methods. Especially for constructors.
rls> Just another guy who has been OO-programming for *21* years, and
rls> a member of the "help sta
> "M" == M W Koskamp <[EMAIL PROTECTED]> writes:
M> sub connect{
M> my $class = shift;
M> my $class = ref($class) || $class;
M> return bless $class->SUPER::connect(@_), $class;
M> }
Please remove the ref($class) || $class there. That bad meme seems to
continue to spread like wil
- Original Message -
From: James Maes <[EMAIL PROTECTED]>
To: Paul D. Smith <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, April 19, 2001 11:48 PM
Subject: Re: ISA inheritance vs. DBI?
>
>
> connect
> {
>my($that) = shift;
>my $
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Thu, Apr 19, 2001 at 05:42:43PM -0400, Paul D. Smith wrote:
> I'm trying to create a subclass of the DBI class.
[snip]
Look at t/subclass.t in the DBI distribution for an example. Subclassing DBI
isn't as simple as setting @ISA -- but it isn't te
connect
{
my($that) = shift;
my $class = ref($that) || $that;
my $self = bless $that->SUPER::new(@_), $class;
$self->{class} = $class;
return(self);
}
??
On Thursday 19 April 2001 16:42, Paul D. Smith wrote:
> I'm trying to create a subclass of the DBI class. My goal is twofold
I'm trying to create a subclass of the DBI class. My goal is twofold:
1) Override the connect method so that I can hide many of the details
of connecting from the rest of my package, and
2) Add a few extra "helper" methods.
I want to access my extra helper methods, plus all the standard
22 matches
Mail list logo