Doug MacEachern wrote:

> On Fri, 14 Dec 2001, Stas Bekman wrote:
> 
> 
>>ok, that will work for APR::PerlIO, but APR::SubProcess needs $r/$s for
>>doing things like subprocess_env.
>>
> 
> $r->subprocess_env is an APR::Table, so no problem there.
> why does it need $s ?
> 
> if you're saying that something really needs a request_rec or server_rec
> then there must be an ap_ function in there somewhere.


I see what you mean. A module APR::Foo can be used outside of Apache if 
it doesn't use any ap_ functins. But for example $r->subprocess_env 
needs $r, which is Apache::Request. Doesn't it tie the module to Apache? 
Otherwise how do you get subprocess_env?






_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to