perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Issac Goldstand <mar...@beamartyr.net>
Subject Re: Caveats to using Perl Sections for server configuration?
Date Fri, 15 Jan 2010 08:09:25 GMT
FWIW, you can look at the source of Apache::UploadMeter to see an
example of <Perl> sections in use - they're actually called during the
httpd.conf parsing triggered by statements found in the httpd.conf

  Issac

Perrin Harkins wrote:
> I don't use them, but in a startup.pl you would be in a different package.
>
> - Perrin
>
> On Wed, Jan 13, 2010 at 8:59 PM, Boysenberry Payne
> <boysenberry@habitatlife.com> wrote:
>   
>> Do you know if the scope of Perl Sections are the same as when using a startup.pl?
>>
>> -bop
>>
>> On Jan 13, 2010, at 2:15 PM, Perrin Harkins wrote:
>>
>>     
>>> On Wed, Jan 13, 2010 at 3:22 PM, Boysenberry Payne
>>> <boysenberry@habitatlife.com> wrote:
>>>       
>>>> I'm using <Perl> blocks in my apache conf files for early server configuration.
>>>> I remember reading someone on this list saying they wouldn't use Perl Sections
at all.
>>>>         
>>> That might have been me.  I don't like to use them.  I find it simpler
>>> to put all the perl code in a startup.pl.  I also like to generate my
>>> httpd.conf from templates, and this means I can also generate conf
>>> files for non-mod_perl servers, like my proxy.
>>>
>>> - Perrin
>>>       
>>     


Mime
View raw message