APR::Request::Magic(3pm)

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".

From libapreq2-doc 2.17-7 in Debian 13 (Trixie). Parsed by carta from the page's man source.