Title: Problems with EmbperlObject

Hi,

I'm having some strange problems with EmbperlObject (running via apache/mod_perl; Embperl 1.3.3). Here's my layout:

/base.epl:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
[- Execute('*'); -]
</html>

I'm requesting /subdir/main.epl, it just cotains:

[- Execute('../main.epl'); -]

/main.epl has a line that says:

Execute('sub.epl');

Everything works as expected (no errors) as long as there's only a /sub.epl.
If I create a /subdir/sub.epl with the following content...
[- Execute('../sub.epl'); -]
...then I will get "Missing right -]" errors.

Is this some known problem with Embperl/EmbperlObject? I really don't understand why the file works if called from /main.epl but not from /subdir/sub.epl :o(

Regards,

   Rainer Perl (yes, that IS my real name :) )

Reply via email to