perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luiz Fernando B. Ribeiro" <l...@engenhosolucoes.com.br>
Subject Re: Loading a file from a different directory tree usin execute
Date Mon, 30 Dec 2002 13:10:23 GMT
Em 29 Dec 2002 09:54:28 -0600
Carlos Kassab <ckg@glin.com.mx> escreveu:

> Hi:
> 
> 
> Do you know how to load a file with execute from a different directory
> tree?
> 
> i have a folder modules/Recommend/recommend.epl
> 
> and other folder includes/subs.epl
> 
> folders subs and modules are at the same level.
> 
> 
> if i try to load subs.epl from recommend.epl
> 
> I get the message :
> 
> 
> [2507]ERR: 30: recommend.epl(20): Not found includes/subs.epl
> 
> Do you know how can i load the file subs.epl without copy it to
> modules/Recommend?

Hi,

You can pass relative paths to  Execute, like '../some/other/page.epl'.
If you are using EmbperlObject you can use the following directive in
your httpd.conf to add the directories you want to be searched:

PerlSetEnv EMBPERL_OBJECT_ADDPATH path1;path2;path3

Regards,

Luiz Fernando B. Ribeiro
Engenho Soluções para a Internet



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message