On Fri, 17 May 2002, Doug MacEachern wrote:
> On Fri, 17 May 2002, Dave Rolsky wrote:
>
> > Defining a "sub handler : method" does not seem to be working.
>
> you are using bleedperl, yes? this should be fixed now. we had been
> passing the G_METHOD flag to call_sv(), which does nothing with 5.6.1, but
> broke bleedperl. there no need for us to use that flag.
Nope, I'm using 5.6.1. Perhaps that explains the problem?
> > FWIW, a non-method handler seems to work fine but then I get segfaults
> > later in the code when I call "$r->filename".
>
> is $r something other than an Apache::RequestRec?
Nope.
> > Also, it seems that Apache::compat needs to 'use Apache::ServerUtil' so
> > that the Apache->server method works.
>
> where does mason use Apache->server? it should use $r->server if $r is
> available. but i'll add it to Apache::compat in case it needs this at
> startup.
Mason sometimes tries to get the dir_config info at server startup, so it
uses Apache->server. Other times it uses Apache->request.
-dave
/*==================
www.urth.org
we await the New Sun
==================*/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
|