Re: Subroutines in EmbperlObject

2001-05-25 Thread Wim Kerkhoff
Gerald Richter wrote: > > > base.epl: > > > > [- Execute ('constants.inc') -] > > > > [- Execute ('init.inc') -] > > > > [- Execute ({ inputfile => 'subs.inc', import => 1 }) -] > > > > As far as I see the import => 1 is the problem. This imports only [$sub$] > subs but not normal Perl subs. Ah

Re: Subroutines in EmbperlObject

2001-05-24 Thread Gerald Richter
> base.epl: > > [- Execute ('constants.inc') -] > > [- Execute ('init.inc') -] > > [- Execute ({ inputfile => 'subs.inc', import => 1 }) -] > As far as I see the import => 1 is the problem. This imports only [$sub$] subs but not normal Perl subs. If this is the only place where you are importing

Subroutines in EmbperlObject

2001-05-24 Thread Wim Kerkhoff
I've been following Neil's awesome tutorial on Embperl Object on a new project we're working on. http://perl.apache.org/embperl/IntroEmbperlObject.pod.7.html#Subroutines_in_EmbperlObject I've been creating subroutines, such as the $req->title() example, that are initially created by subs.epl whi