At Wed, 25 May 2005 10:16:55 -0400, Derrick Spell wrote:
> > In your page you say
> > [! Execute ({isa => 'title.epl'}) !]
> > In your title.epl you say
> > [! Execute ({isa => '../title.epl'}) !]
> > <title>[+ $req->title() +]</title>

Since you are setting the title per directory rather than per file
anyway (via "title.epl"), an alternative would be to simply use
Embperl::Object's inheritance directly, ie:

/title.epl:
 Level 0 title

/base.epl:
 ...
 <title>[- Execute('title.epl') -]</title>
 ...

/sub/dir/title.epl:
 [- Execute('../title.epl') -]: A sub title

-- 
 - Gus


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to