>
> What I had in mind for Embperl (using the Embperl::Object stuff) was an
> inheritance tree for the request object.  But I want my base.epl to be
> in the middle:
> (the order is via my understanding of precedence, most -> least)
>
>   REQUESTED PAGE  -->    base.epl    --> defaults.epl
>  (the .html file)
>
>...
> 2. Adding to the ISA array via 'Execute':
>     (in base.epl)
>     Execute ({isa=>'defaults.epl'});
>

That's the correct way to go.

>    Now, base.epl (being the EMBPERL_OBJECT_BASE) does not seem to like
>    having an 'isa' assignment in it.  I get some error in embperl.log
>    about the ISA being corrupted.
>
I assume you test this with b5 (or 1.3.x), because the error message isn't
anymore in b7

This is only a warning. Does your code work?

print out the @ISA array after the Execute, it should contain your module
(an numbered package name) and HTML::Embperl::Req. Does it?

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
-------------------------------------------------------------



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

Reply via email to