Re: Subroutine Inheritance

2005-05-27 Thread Angus Lees
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'}) !] > > [+ $req->title() +] Since you are setting the title per directory rather than per file anyway (vi

Re: Subroutine Inheritance

2005-05-25 Thread Derrick Spell
title "Base : Level 0". Is there anything I can do to make the Execute isa in the base.epl actually include the title.epl in the requested directory? Change the [! Execute({isa => 'title.epl'}); !] in base.epl to [- Execute({isa => 'title.epl'}); -] , because the search path is not set when

RE: Subroutine Inheritance

2005-05-25 Thread Gerald Richter
> title "Base : Level 0". Is there anything I can do to make > the Execute isa in the base.epl actually include the > title.epl in the requested directory? > Change the [! Execute({isa => 'title.epl'}); !] in base.epl to [- Execute({isa => 'title.epl'}); -] , because the search path is not s

Re: Subroutine Inheritance

2005-05-25 Thread Derrick Spell
I want to set up a method accessed from the request object that will allow me the option to create a page title based on the path to the page. What I was thinking was: In your page you say [! Execute ({isa => 'title.epl'}) !] In your title.epl you say [! Execute ({isa => '../title.epl'}) !]

RE: Subroutine Inheritance

2005-05-24 Thread Gerald Richter
> > I want to set up a method accessed from the request object > that will allow me the option to create a page title based on > the path to the page. What I was thinking was: > In your page you say [! Execute ({isa => 'title.epl'}) !] In your title.epl you say [! Execute ({isa => '../titl

Subroutine Inheritance

2005-05-24 Thread Derrick Spell
I want to set up a method accessed from the request object that will allow me the option to create a page title based on the path to the page.  What I was thinking was:/base.epl[! sub title { print OUT "Company"; } !][- $req = shift -][- $req->title() -]/title.epl[! sub title { print OUT " "; } !]/