![]() |
![]() |
Home / Documentation / 1.0 / | ![]() |
|
![]() |
||||
![]() |
![]() |
|||
![]() |
![]() |
|||
![]() |
||||
![]() |
![]() |
|||
![]() |
mod_perl 1.0 API | ![]() |
||
![]() |
||||
![]() |
![]() |
![]() |
||
![]() |
||||
![]() |
||||
![]() |
![]() |
![]() |
![]() |
||
![]() |
||
![]() |
![]() |
![]() |
![]() |
||
![]() |
||
![]() |
![]() |
![]() |
![]() |
||
![]() |
||
![]() |
![]() |
![]() |
![]() |
||
![]() |
||
![]() |
![]() |
![]() |
![]() |
||
![]() |
||
![]() |
![]() |
![]() |
![]() |
||
![]() |
||
![]() |
||
![]() |
||
![]() |
||
![]() |
||
![]() |
||
|
|
||
![]() |
||
Here is the documentation for the whole API provided with the mod_perl distribution, ie. of various Apache:: modules you will need to use.
Apache::Options module will export the following bitmask
constants:Apache::File does two things: it provides an object-oriented
interface to filehandles similar to Perl's standard IO::File
class. While the Apache::File module does not provide all the
functionality of IO::File, its methods are approximately twice as
fast as the equivalent IO::File methods. Secondly, when you use
Apache::File, it adds several new methods to the Apache class
which provide support for handling files under the HTTP/1.1
protocol.Apache::Log module provides an interface to Apache's
ap_log_error and ap_log_rerror routines.Apache::Include module provides a handler, making it simple to
include Apache::Registry scripts with the mod_include perl
directive.Apache::Registry is the Apache module allowing you to run CGI
scripts very fast under mod_perl, by compiling all scripts once and
then caching them in memory.handler emulates the CGI environment, allowing
programmers to write scripts that run under CGI or mod_perl without
change. Unlike Apache::Registry, the Apache::PerlRun handler
does not cache the script inside of a subroutine. Scripts will be
"compiled" every request. After the script has run, it's namespace is
flushed of all variables and subroutines.Apache::Registry scripts at
server startup.require, it stores the filename in the
global hash %INC. The next time Perl tries to require the same
file, it sees the file in %INC and does not reload from disk. This
module's handler iterates over %INC and reloads the file if it has
changed on disk.Apache::* modules write test suites
that can query an actual running Apache server with mod_perl and their
modules loaded into it.Apache::Symdump will record snapshots of the Perl symbol table for you to look at later.Apache::Leak is a module built to track memory leaks in mod_perl
code.Apache::FakeRequest is used to set up an empty Apache request
object that can be used for debugging.Apache::Symbol helps mod_perl users avoid Perl warnings related
with redefined constant functions.SIGPIPE. When
apache's SIGPIPE handler is used, Perl may be left in the middle of
it's eval context, causing bizarre errors during subsequent requests
are handled by that child. When Apache::SIG is used, it installs a
different SIGPIPE handler which rewinds the context to make sure
Perl is back to normal state, preventing these bizarre errors.<Perl> sections in httpd.conf. This module is here to
help you with such a task.<Perl> section.Apache::Status module provides some information about the
status of the Perl interpreter embedded in the server.Apache::Resource uses the BSD::Resource module, which
uses the C function setrlimit to set limits on
system resources such as memory and cpu usage.See perldoc.perl.org for
documentation of the rest of the Apache:: modules
|