Re: APR::Finfo
[prev]
[thread]
[next]
[Date index for 2005/05/04]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Markus Wichitill schrieb:
| 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);
|
|
Thanks. I could not believe that I haven't found that my own ;-)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCeJfTkVPeOFLgZFIRAmnjAJ9OwJsMrqna+p4BQshFKDFJbRwjrwCbBf7C
w/WN6E25Or4rO9UN1nOJd3A=
=gnSI
-----END PGP SIGNATURE-----