APR::Pool - Perl API for XXX
use APR::Pool ();
META: to be completed
APR::Pool provides the following functions and/or methods:
APR::Pool
cleanup_for_exec
META: Autogenerated - needs to be reviewed/completed
buffers, *don't* wait for subprocesses, and *don't* free any memory. * Run all of the child_cleanups, so that any unnecessary files are closed because we are about to exec a new program
clear
Clear all memory in the pool and run all the cleanups. This also destroys all subpools.
$p->clear();
$p
The pool to clear
This does not actually free the memory, it just allows the pool to re-use this memory for the next allocation.
destroy
Destroy the pool. This takes similar action as apr_pool_clear() and then frees all the memory.
$p->destroy();
The pool to destroy
This will actually free the memory
is_ancestor
Determine if pool a is an ancestor of pool b
$ret = $a->is_ancestor($b);
$a
The pool to search
$b
The pool to search for
$ret
True if a is an ancestor of b, NULL is considered an ancestor of all pools.
tag
Tag a pool (give it a name)
$pool->tag($tag);
$pool
The pool to tag
$tag
The tag
mod_perl 2.0 documentation.
mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 1.1.
The mod_perl development team and numerous contributors.
To install mod_perl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm mod_perl
CPAN shell
perl -MCPAN -e shell install mod_perl
For more information on module installation, please visit the detailed CPAN module installation guide.