Gerald,

Unfortunately, I was experiencing a lot of other function dispatch problems 
with inheritance.  It is very difficult to have confidence with the Perl 
dispatch mechanisms for OO, so I was too nervous to proceed with this, as 
there is quite an amount of code in DBIx::Recordset to both understand and 
test.

I switched everything over to a containment model instead and this meets my 
needs presently.

I do have another question regarding Embperl scoping though.  I was using 
the Perl::Module directive in my Apache config, expecting that any 
interpreter would get any global symbols defined in the module.  However, 
these appear to be unavailable within my Embperl container.  Do all global 
symbols not get sucked in by default?

Alan

>From: "Gerald Richter" <[EMAIL PROTECTED]>
>To: "alan milligan" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
>Subject: Re: inheriting from DBIx::Recordset
>Date: Tue, 2 Oct 2001 22:12:19 +0200
>MIME-Version: 1.0
>Received: from [217.7.64.151] by hotmail.com (3.2) with ESMTP id 
>MHotMailBD836A7100A1400431C8D9074097FC830; Tue, 02 Oct 2001 13:11:31 -0700
>Received: from mond (mond.gr.ecos.de [10.11.12.10])by lnx1.i.ecos.de 
>(Postfix) with SMTPid C66352C2CC; Tue,  2 Oct 2001 22:11:26 +0200 (MEST)
>From [EMAIL PROTECTED] Tue, 02 Oct 2001 13:13:16 -0700
>Message-ID: <010001c14b7e$aeb8be70$[EMAIL PROTECTED]>
>References: <[EMAIL PROTECTED]>
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Mailer: Microsoft Outlook Express 5.50.4807.1700
>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
>
> > I get this unfortunate effect of "Need DBIx::Recordset or setup 
>parameter
>"
> >
> > This is because there are a few places in the Setup functions of
> > DBIx::Recordset which directly test the object type :
> >
> >     elsif (ref ($arg) eq 'DBIx::Recordset')
> >
>
>We should trun this into
>
>      elsif (ref ($arg) && $arg -> isa ('DBIx::Recordset'))
>
>this is a little bit slower, but of course much more OO and should solve
>your problem.
>
>Gerald
>
>
>
>-------------------------------------------------------------
>Gerald Richter    ecos electronic communication services gmbh
>Internetconnect * Webserver/-design/-datenbanken * Consulting
>
>Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
>E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
>WWW:        http://www.ecos.de      Fax:      +49 6133 925152
>-------------------------------------------------------------
>
>
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to