On Fri, 25 Apr 2008 16:38:36 +0200 André Warnier <[EMAIL PROTECTED]> wrote:
> Mark Stosberg wrote: > >> Sorry Mark, I misread your mail. I thought you were using > >> PerlSetVar. What are you doing exactly? PerlSetEnv PERL5LIB? > > > > Exactly. > > > 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. I did find and change this section in my startup script which seems like it could be related: - chdir dirname(__FILE__); - use lib '../config', '../perllib'; + my $dir = 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. Mark -- . . . . . . . . . . . . . . . . . . . . . . . . . . . Mark Stosberg Principal Developer [EMAIL PROTECTED] Summersault, LLC 765-939-9301 ext 202 database driven websites . . . . . http://www.summersault.com/ . . . . . . . .