Currently APR::Pool::new() can create only parent pools, since it calls apr_pool_create which is defined as:
#define apr_pool_create(newpool, parent) \ apr_pool_create_ex(newpool, parent, NULL, NULL)
We probably will need to provide functionality to create sub-pools, either by extending the new() method to accept optional arguments (in which case we don't need to have a direct access to apr_pool_create_ex (keep it -), or by providing a new function in which case we will need it.
APR::Pool->new() should create a new pool, while $pool->new() should create a subpool.
I'll write some tests and document it ;)
--Geoff
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
