EMBPERL_OBJECT_BASE (?? - The sequel!)

2003-03-19 Thread Edouard Lagache
Dear Gavin (and fellow Embperl-ophiles,) Well, I did wuz you'all said, but my installation of Apache, mod_perl, Embperl, etc. doesn't find it agreeable. Now I get the following error from Apache when I try to start: Shutting down httpd: [ OK ] Startin

Re: sub.htm segfault on sparc (patch)

2003-03-19 Thread Angus Lees
At Wed, 19 Mar 2003 21:08:10 +0100, Gerald Richter wrote: > PUSHMARK tells Perl where on the stack the argument for a sub starts. > Because on the G_NOARGS it shouldn't be necessary here, so it seems more > like a bug in Perl. Anyway most important is that it fixes the problem. yes, I thought the

Re: sub.htm segfault on sparc (patch)

2003-03-19 Thread Gerald Richter
> > on sparc (at least), embperl dies with: > > pCV = perl_get_cv (s, 0) ; > if (pCV) > { > + dSP ; > if (bDebug) > lprintf (r -> pApp, "[%d]CUP: Call &%s::CLEANUP\n", r -> pThread -> nPid, sPackage) ; > + PUSHMARK(sp) ; > perl_call_sv

Re: eval and Execute and subs

2003-03-19 Thread Gerald Richter
> HTML::EmbperlObject > > $obj = Execute({ object => $file }); > try { > $obj->foo(); > } otherwise { > $this->Error(0); # $this is the ref to this page object > handle error > }; > > This doesn't work. The page still returns with an error value, and > my handler in the EmbperlObject template se