perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Wiles <fr...@wiles.org>
Subject Re: Apache2::PerlSections patch
Date Sat, 18 Feb 2006 00:14:39 GMT
On Fri, 17 Feb 2006 16:04:24 -0800
"Philippe M. Chiasson" <gozer@ectoplasm.org> wrote:

> Sorry, but it doesn't fix the issue.
> 
> For reference, *this* works as expected
> <Perl>
>   @LogFormat = ( qq("[%h]" hostname), qq("[%u]" url) );
>   @CustomLog = ( qq(logs/hostname hostname), qq(logs/url url));
> </Perl>
> 
> The important thing to understand, is that in the general case, in
> <Perl> sections, using
> 
> <perl>
> @Directive = ( (a), (b) );
> </perl>
> 
> Translate to httpd.conf lingo into
> 
> Directive a
> Directive b
> 
> And not into:
> 
>  Directive a b
> 
> The only notable exception to this is in nested constructs, like
> $VirtualHosts and such, where you can often use [(a), (b)]
> interchangeably with "a b".

  Ah that makes sense.  Thanks Philippe! 

 ---------------------------------
   Frank Wiles <frank@wiles.org>
   http://www.wiles.org
 ---------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message