mod_perl logo
perl icon







previous page: APR::PerlIO -- An APR Perl IO layerpage up: mod_perl APIsnext page: APR::SockAddr - Perl API for XXX


APR::Pool - Perl API for XXX











Embedding Perl in HTML with Mason

Embedding Perl in HTML with Mason

By Dave Rolsky, Ken Williams
Practical mod_perl

Practical mod_perl

By Stas Bekman, Eric Cholet
The mod_perl Developer's Cookbook

The mod_perl Developer's Cookbook

By Geoffrey Young, Paul Lindner, Randy Kobes


Table of Contents

Synopsis

  use APR::Pool ();

META: to be completed



TOP

Description

META: to be completed



TOP

API

APR::Pool provides the following functions and/or methods:



TOP

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



TOP

clear

META: Autogenerated - needs to be reviewed/completed

Clear all memory in the pool and run all the cleanups. This also destroys all subpools.

  $p->clear();

This does not actually free the memory, it just allows the pool to re-use this memory for the next allocation.



TOP

destroy

META: Autogenerated - needs to be reviewed/completed

Destroy the pool. This takes similar action as apr_pool_clear() and then frees all the memory.

  $p->destroy();

This will actually free the memory



TOP

is_ancestor

META: Autogenerated - needs to be reviewed/completed

Determine if pool a is an ancestor of pool b

  $ret = $a->is_ancestor($b);


TOP

tag

META: Autogenerated - needs to be reviewed/completed

Tag a pool (give it a name)

  $pool->tag($tag);


TOP

See Also

mod_perl 2.0 documentation.



TOP

Copyright

mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 1.1.



TOP

Authors

The mod_perl development team and numerous contributors.







TOP
previous page: APR::PerlIO -- An APR Perl IO layerpage up: mod_perl APIsnext page: APR::SockAddr - Perl API for XXX