>
> The above works perfectly however it doesn't work in my project since I
have all my functions in a seperate file.
> I tried doing this in my page:
>
> [- $subs = $param[0] -]
> [! sub getstatus { return $subs->status } !]
>
> But unfortunately I get the following error message: 'Can't call met
Is there really no way to force Embperl to Execute the (*) part first?
Surely this would make sense for most applications and would make things a lot
simpler. Also it would make it easier to port from plain CGI?
Nico
On Wed, May 02, 2001 at 05:33:46AM +0200, Gerald Richter wrote:
>
>
> > Tha
On Wed, May 02, 2001 at 05:33:46AM +0200, Gerald Richter wrote:
>
>
> Your files (that are invoked via Execute ('*') ), defines a method, for
> example getstatus, this method returns what ever information is needed, your
> status page now can call this method, also the actual file isn't executed
> Thanks for the quick reply.
> But unfortunately after looking at the example I still do not know how i
could solve my problem. Maybe I didn't describe it very well.
> I am calling a module function in login.html that checks user name and
password and sets the global $user_id. Problem is that t
Thanks for the quick reply.
But unfortunately after looking at the example I still do not know how i could solve
my problem. Maybe I didn't describe it very well.
I am calling a module function in login.html that checks user name and password and
sets the global $user_id. Problem is that the sta
Hi,
>
> Is there a way to force Embperl to execute the * portion first? How have
others solved this problem?
>
You can use method calls to solve this problem. Look at the example in the
EMbperlObject documenation:
http://perl.apache.org/embperl/EmbperlObject.pod.5.html#Example_for_using_me
thod