Re: APR::Finfo
[prev]
[thread]
[next]
[Date index for 2005/05/04]
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);
 |
 |
Re: APR::Finfo
Markus Wichitill 09:27 on 04 May 2005
|