On Fri, 25 Apr 2008 16:38:36 +0200
Andr=C3=A9 Warnier wrote:

> Mark Stosberg wrote:
> >> Sorry Mark, I misread your mail. I thought you were using
> >> PerlSetVar. What are you doing exactly? PerlSetEnv PERL5LIB?

> >=20
> > Exactly.
> >=20

> Hi guys,
> sorry to butt in, particularly since much higher-grade specialists
> have been in this thread before, but ..
> I seem to recall an earlier thread talking about the same kind of
> thing. Isn't it too late, once the Apache server has started and
> initialised Perl interpreters and so on, to set the environment var.
> PERL5LIB via PerlSetEnv ?
> Would that not explain the curious behaviour seen ?


Possibly. As I reviewed other environments that are working for us,
I see that we use "SetEnv" there. I just introduced "PerlSetEnv" recently,
as part trying to debug mod_perl problems.=20

I did find and change this section in my startup script which seems like=20
it could be related:

- chdir dirname(__FILE__);
- use lib '../config', '../perllib';

+ my $dir =3D dirname(__FILE__);
+ use lib $dir.'/../config'; $
+ use lib $dir.'/../perllib';

####

So, I was adding relative paths to @INC before, and now I'm adding absolute=
ones.=20

Mark

--=20
. . . . . . . . . . . . . . . . . . . . . . . . . . .=20
Mark Stosberg Principal Developer =20
mark@summersault.com Summersault, LLC =20
765-939-9301 ext 202 database driven websites
. . . . . http://www.summersault.com/ . . . . . . . .