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
> 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
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