Tom Schindl wrote:
I'm banging my head against the fact how one could use the APR::Finfo
without having a pool. Is this simply impossible? I though APR::* could
be used without mod_perl?

The docs state:
--------------8<--------------
my $finfo = APR::Finfo::stat("/tmp/test", APR::Const::FINFO_NORM, $pool);
--------------8<--------------

Just create your own pool:

my $pool = APR::Pool->new();
my $finfo = APR::Finfo::stat("/tmp/test", APR::Const::FINFO_NORM, $pool);

Reply via email to