APR::Request::Magic3pm
Portable api for working with cgi and modperl scripting
Usage
# Be sure PerlOptions +GlobalRequest is set for mp2.use APR::Request::Magic;$apreq = APR::Request::Magic->handle;@foo = $apreq->body("foo");$bar = $apreq->args("bar");$c = $apreq->jar("cookiename");
Overview
The APR::Request::Magic module provides a cgi/mod_perl portable interface to libapreq2. It is a subclass of APR::Request so all of its methods are available.
APR::Request::Magic
handle
APR::Request::Magic->handle()
Creates a new APR::Request::Magic object.
$mode
Global variable set to the operation mode of this module: either "CGI" or "Apache2".