At Thu, 19 Sep 2002 09:55:48 -0400, Cameron McBride wrote:
> I did something similiar, but used 'isa' from Execute and OO method call
> for my function to pass around the $req object.
> Perhaps this approach might help, as I think it will give the same
> functionality.
and it will be more memor
On Thu, Sep 19, 2002 at 03:15:12PM +0200, Andre Landwehr wrote:
> [- $req = shift; -]
> [- Execute ({inputfile => 'functions.epo', import => 1}); -]
> [-
> logprint ("bla bla bla"); # <- this is the function
> print OUT "my log: $req->{log}"; # here it works
> -]
>
> functions.epo:
> [$ sub
On Thu, Sep 19, 2002 at 09:23:46PM +1000, Angus Lees wrote:
> since you're importing, the code/functions will be run in the same
> "namespace" as the page doing the Execute.
>
> thus you can only do $req=shift in either the Executing page or the
> Executed page, since they're shifting the same @_
At Thu, 19 Sep 2002 11:54:59 +0200, Andre Landwehr wrote:
> I have a file containing some [$sub$]'s which I import with
> Execute ({inputfile => 'functions.epo', import => 1})
> I don't seem to have access to the request object in those
> subs although I have [-$req=shift;-] in the top of the pag
Hi,
I have a file containing some [$sub$]'s which I import with
Execute ({inputfile => 'functions.epo', import => 1})
I don't seem to have access to the request object in those
subs although I have [-$req=shift;-] in the top of the page. My
guess is that an imported page is only parsed once and f