You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Torsten Förtsch <to...@gmx.net> on 2010/09/01 13:45:59 UTC

Re: APR::ArrayHeader

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:
> 
> $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.

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

-- 
Need professional modperl support? Hire me! (http://foertsch.name)

Like fantasy? http://kabatinte.net