3
Apache -- A ghost mod_perl 2.0 class
9
There is no Apache class per se.
11
There are several modules that put their functions into the
12
C<Apache::> namespace. For example
13
C<L<ModPerl::Util|docs::2.0::api::ModPerl::Util>> defines a function
14
C<L<Apache::current_callback()|docs::2.0::api::ModPerl::Util/C_current_callback_>>:
17
my $callback = Apache::current_callback();
19
There are several modules that require the I<Apache> class as the
20
first argument to the class methods that they define. For example
21
C<L<Apache::Server|docs::2.0::api::Apache::Server>> defines a class
23
C<L<Apache-E<gt>server|docs::2.0::api::Apache::Server/C_server_>>:
26
my $server = Apache->server;
28
There are several modules that install constants into the C<Apache::>
29
namespace. For example
30
C<L<Apache::ServerUtil|docs::2.0::api::Apache::ServerUtil>> defines a
32
C<L<Apache::server_root|docs::2.0::api::Apache::ServerUtil/C_Apache__server_root_>>:
34
use Apache::ServerUtil;
35
my $server_root = Apache::server_root;
37
To use this functions and methods you need to load the module that
38
defines them. If you aren't sure which module contains the symbol you
39
are after, use the helper module
40
C<L<ModPerl::MethodLookup|docs::2.0::api::ModPerl::MethodLookup>>.
48
L<mod_perl 2.0 documentation|docs::2.0::index>.
55
mod_perl 2.0 and its core modules are copyrighted under
56
The Apache Software License, Version 1.1.
63
L<The mod_perl development team and numerous
64
contributors|about::contributors::people>.