On Mon, Sep 03, 2001 at 09:14:30AM +0200, Lukas Zapletal wrote:
EMBPERL_OBJECT_ADDPATH is your friend. It is *always* added to the
searchpath.
I usually have something like this:
EMBPERL_OBJECT_STOPDIR=/your/www/root
EMBPERL_OBJECT_ADDPATH=/your/www/root/defaults
So something like:
/your/www/root/defaults/constants.epl
/your/www/root/topbar/base.epl (executes constants.epl)
/your/www/root/main/base.epl (executes constants.epl)
should work for you.
I use a seperate directory to the normal search path mostly for keeping
the main hierarchy as clean as possible. You may or may not want to
> 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?
--
Andrew O'Brien
Product Engineer email: [EMAIL PROTECTED]
Switch Online Group Pty Limited phone: +61 2 9299 1133
ABN 89 092 286 327 fax: +61 2 9299 1134
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]