Apache2::ASP::Mock::Pool - Mimics the $r->pool APR::Pool object



NAME

Apache2::ASP::Mock::Pool - Mimics the $r->pool APR::Pool object


SYNOPSIS

  my $pool = $Response->context->r->pool;
  $pool->cleanup_register( sub { ... }, \@args );


DESCRIPTION

This package mimics the the APR::Pool manpage object obtained via $r->pool in a normal mod_perl2 environment, and is used by the Apace2::ASP::API manpage.


PUBLIC METHODS

cleanup_register( sub { ... }, \@args )

Causes the subref to be executed with @args at the end of the current request.


BUGS

It's possible that some bugs have found their way into this release.

Use RT http://rt.cpan.org/NoAuth/Bugs.html to submit bug reports.


HOMEPAGE

Please visit the Apache2::ASP homepage at http://www.devstack.com/ to see examples of Apache2::ASP in action.


AUTHOR

John Drago <jdrago_999@yahoo.com>


COPYRIGHT

Copyright 2008 John Drago. All rights reserved.


LICENSE

This software is Free software and is licensed under the same terms as perl itself.

 Apache2::ASP::Mock::Pool - Mimics the $r->pool APR::Pool object