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: relative path is not working to load files
Date Thu, 02 Jan 2003 12:47:51 GMT
Em Mon, 30 Dec 2002 14:24:34 -0500 (EST)
"Carlos" <ckassab@myway.com> escreveu:

> 
> Thanks to reply my email about Loading a file from a different
> directory tree using execute.
> 
> I am not using EmbperlObject.
> >Hi,
> >
> >You can pass relative paths to Execute, >like
> >'../some/other/page.epl'
> 
> I have tried using relative path but still does not work.
> 
> My problem is: 
> > 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 Execute ('../subs.epl') from recommend.epl

Here is the mistake, you should use: Execute ('../includes/subs.epl').
Please check your sintax more carefully.

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