Re: APR::Finfo

[prev] [thread] [next] [Date index for 2005/05/04]

From: Markus Wichitill
Subject: Re: APR::Finfo
Date: 09:27 on 04 May 2005
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);

APR::Finfo
Tom Schindl 08:04 on 04 May 2005

Re: APR::Finfo
Markus Wichitill 09:27 on 04 May 2005

Re: APR::Finfo
Tom Schindl 09:37 on 04 May 2005

Generated at 06:57 on 17 May 2005 by mariachi v0.52