NAME
ASP4::Mock::Pool - Mimics the $r->pool APR::Pool object
SYNOPSIS
my $pool = $r->pool;
$pool->cleanup_register( sub { ... }, \@args );
DESCRIPTION
This package mimics the APR::Pool object obtained via $r->pool in a normal mod_perl2 environment.
PUBLIC METHODS
cleanup_register( sub { ... }, \@args )
Causes the subref to be executed with \@args
at the end of the current request.