Philip M. Gollucci wrote:
> Andreas J. Koenig wrote:
>>   > http://marc2.theaimsgroup.com/?l=apache-modperl-dev&m=114021879222434&w=2
> Since Geoff was previously involved, I'll let him handle this, but I'm +1 for 
> the patch
> as add_config() takes a scalar string not an array, so dump_special() as 
> writting is clearly wrong.
> 
> The only thing I could thing of differently would be if you wanted instead of 
> the foreach()
>     $self->add_config(join('', @data))
> 
> I've not traced what dump_special is supposed to be doing yet, so I don't 
> know which is correct.
> 
> 
I take that back,

do something like this instead:
<Perl >
use Apache::Test ();
if (Apache::Test::have_module('mod_alias.c')) {
    push @Alias, ['/perl_sections', '@DocumentRoot@'];
    $Location{'/perl_sections'} = {
        'PerlInitHandler' => 'ModPerl::Test::add_config',
        'AuthType' => 'Basic',
        'AuthName' => 'PerlSection',
        'PerlAuthenHandler' => 'TestHooks::authen_basic',
    };
}
</Perl>



-- 
------------------------------------------------------------------------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"In all that I've done wrong I know I must have done something right to
deserve a hug every morning and butterfly kisses at night."

Reply via email to