>
> I have these files:
>
> /constants.epl
> /topbar/base.epl
> /main/base.epl
>
> constants.epl:
> [!
>         use Carp;
>
>         $req = shift;
>         $req->{appname} = "test app";
> !]
>
>
> I need to execute constants in both bases. Execute('../constants.epl')
doesn`t
> work. How can I do it?
>

You can use EMBPERL_OBJECT_STOPDIR and set it to the root of your web, so
EmbperlObject doesn't only search back to the location where base.epl is
located, but one level higher.

As Andrew already wrote EMBPERL_OBJECT_ADDPATH is handy for inlcuding
auxliary files like your constants.

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