Re: <Perl>...</Perl> and startup.pl equivalent?

[prev] [thread] [next] [Date index for 2004/12/14]

From: Stas Bekman
Subject: Re: <Perl>...</Perl> and startup.pl equivalent?
Date: 00:29 on 14 Dec 2004
colin_e wrote:
> Cheers Martin. As I said, i'm new to this game. I would only ever intend 
> to put
> config-related code in the conf files, tbut i'm still trying to work out 
> the best way
> to do things.
> 
> In my case I have multiple production/development machines on different
> architectures. I want to keep the configs as far as possible in sync, 
> but some
> pieces have to be different (e.g. mod_perl needs a .dll loaded on 
> Windows that
> is not required on Solaris). The docs describe exactly this use of 
> <Perl> for
> conditional configuration.
> 
> As it stands i've gone for a rather cruder approach, with the 
> architecture-dependent
> elements in the "main line" httpd.conf, and the common bits being pulled 
> in with
> Include. The logic for this decision was that the conf file would still 
> be usable even
> if the machine's perl configuration got screwed up. I have no idea if 
> this is the right
> decision at this point, but I'm sure i'll find out by experience :-}

Could you explain how making:

PerlRequire /path/to/startup.pl

makes it harder to keep things in sync? I'm not sure i understand your 
example of Windows dll.

        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

(message missing)

Re: <Perl>...</Perl> and startup.pl equivalent?
Martin Moss 14:51 on 13 Dec 2004

Re: <Perl>...</Perl> and startup.pl equivalent?
Stas Bekman 23:41 on 13 Dec 2004

Re: <Perl>...</Perl> and startup.pl equivalent?
Stas Bekman 23:53 on 13 Dec 2004

Re: <Perl>...</Perl> and startup.pl equivalent?
Stas Bekman 00:29 on 14 Dec 2004

Re: <Perl>...</Perl> and startup.pl equivalent?
Stas Bekman 16:54 on 13 Dec 2004

Re: <Perl>...</Perl> and startup.pl equivalent?
Stas Bekman 23:31 on 13 Dec 2004

Re: <Perl>...</Perl> and startup.pl equivalent?
Philippe M. Chiasson 23:42 on 13 Dec 2004

Re: <Perl>...</Perl> and startup.pl equivalent?
Stas Bekman 00:27 on 14 Dec 2004

Re: <Perl>...</Perl> and startup.pl equivalent?
Philippe M. Chiasson 21:12 on 14 Dec 2004

Re: <Perl>...</Perl> and startup.pl equivalent?
Stas Bekman 23:53 on 14 Dec 2004

Generated at 12:15 on 16 Jan 2005 by mariachi v0.52