APR::ArrayHeader
am 31.08.2010 22:28:21 von Anton Petrusevich
Hi,
I was unable to find the answer how to use such an object. ServerRec::names
returns object like this:
$VAR1 = bless( do{\\(my $o = 19244608)}, 'APR::ArrayHeader' );
I know it maps to apr_array_header_t structure, but is it anyhow useful?
I wanted dynamically change ServerAlias-es for some virtual hosts, found no
solution with mod_perl.
--
Anton Petrusevich
Re: APR::ArrayHeader
am 01.09.2010 13:45:59 von torsten.foertsch
On Tuesday, August 31, 2010 22:28:21 Anton Petrusevich wrote:
> I was unable to find the answer how to use such an object.
> ServerRec::names returns object like this:
>=20
> $VAR1 =3D bless( do{\\(my $o =3D 19244608)}, 'APR::ArrayHeader' );=20
>=20
>=20
> I know it maps to apr_array_header_t structure, but is it anyhow useful?
> I wanted dynamically change ServerAlias-es for some virtual hosts, found
> no solution with mod_perl.
I'd say, you are welcome to implement that class.
As a starting point you could take the patch created by
svn diff -c 541120
It implements APR::ThreadRWLock from scratch.
Torsten Förtsch
=2D-=20
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net