Re: Caveats to using Perl Sections for server configuration?

Perrin Harkins <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
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
<[email protected]> 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
>> <[email protected]> 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
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.