darren chamberlain <[EMAIL PROTECTED]> writes: > Jay Lawrence <[EMAIL PROTECTED]> said something to this effect on > 12/11/2001: > > In my development I neglected to supply the Apache request > > object when I called Apache::Request->new( $r ). Actually $r > > was undef. It still works! I am just wondering if this is > > expected behaviour and if it will be supported going forward or > > was this just a fluke? > > The Apache instance that gets passed to Apache::Request::new > apepars to not be required: > > # From libapreq-0.33/Request/Request.xs: > 165 static ApacheRequest *sv_2apreq(SV *sv) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Unfortunately this isn't the relevant function here- the typemap for Apache objects is governed by sv2request_rec, which is part of mod_perl's perl_util.c file. -- Joe Schaefer