Re: [Module::Build] [RFC] author tests
Status: Beta
Brought to you by:
kwilliams
|
From: Austin S. <te...@of...> - 2006-02-03 23:35:50
|
On Fri, Feb 03, 2006 at 04:58:28PM +1100, Ron Savage wrote:
> On Thu, 2 Feb 2006 21:47:21 -0600, Ken Williams wrote:
>
> Hi Ken
>
> > In general I like the idea. In specific I don't like the idea of
> > using an environment variable. Could we use some parameter or
> > command-line argument or something like that instead? Environment
> > variables aren't completely portable and they're about as global as
> > one can get, so usually I've tried to avoid using them in M::B.
>
> The killer for an env var is that I for one install modules via a cgi script on
> machines where I do /not/ have access to httpd.conf, so I can't ever use
> Perl(Set)Env to pass personal env vars thru to my scripts.
>
Dumb question: can't you just $ENV{'FOO'}= ... before you run the
tests?
I have many scripts which call config files upon startup to set
environment variables and the like.
You wouldn't be able to run the tests directly, but I'm not sure
that's relevant.
Austin
|