Java Mailing List Archive

http://www.apache-httpd.com/

Home » modperl.perl »

Re: Access to Server and Request objects under Registry

Philippe M. Chiasson

2008-04-16

Replies: Find Java Web Hosting

Author LoginPost Reply
Artem Kuchin wrote:
> Hello!
>
> Is there any way to access server and request objects
> when script is running under Registry?

# From the top-level
my $r = shift;

OR
# PerlOptions +GlobalRequest
# Apache2::RequestUtil (http://perl.apache.org/docs/2.0/api/Apache2/RequestUtil.html#C_request_)
use Apache2::RequestUtil;
my $r = Apache2::RequestUtil->request

--
Philippe M. Chiasson   GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/     m/gozer\@(protected)/


Attachment: signature.asc (zipped)
©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.