1APR::Request::Magic(3)User Contributed Perl DocumentationAPR::Request::Magic(3)
2
3
4

NAME

6       APR::Request::Magic - Portable API for working with CGI and modperl
7       scripting
8

SYNOPSIS

10           # Be sure PerlOptions +GlobalRequest is set for mp2.
11
12           use APR::Request::Magic;
13           $apreq = APR::Request::Magic->handle;
14           @foo   = $apreq->body("foo");
15           $bar   = $apreq->args("bar");
16           $c     = $apreq->jar("cookiename");
17

DESCRIPTION

19       The APR::Request::Magic module provides a cgi/mod_perl portable
20       interface to libapreq2.  It is a subclass of APR::Request so all of its
21       methods are available.
22

APR::Request::Magic

24   handle
25           APR::Request::Magic->handle()
26
27       Creates a new APR::Request::Magic object.
28
29   $MODE
30       Global variable set to the operation mode of this module: either "CGI"
31       or "Apache2".
32

SEE ALSO

34       APR::Request, APR::Request::CGI, APR::Request::Apache2.
35
37         Licensed to the Apache Software Foundation (ASF) under one or more
38         contributor license agreements.  See the NOTICE file distributed with
39         this work for additional information regarding copyright ownership.
40         The ASF licenses this file to You under the Apache License, Version 2.0
41         (the "License"); you may not use this file except in compliance with
42         the License.  You may obtain a copy of the License at
43
44             http://www.apache.org/licenses/LICENSE-2.0
45
46         Unless required by applicable law or agreed to in writing, software
47         distributed under the License is distributed on an "AS IS" BASIS,
48         WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
49         See the License for the specific language governing permissions and
50         limitations under the License.
51
52
53
54perl v5.34.0                      2022-01-20            APR::Request::Magic(3)
Impressum