Have a look at 
http://perl.apache.org/docs/1.0/guide/config.html#PerlSetEnv_and_PerlPassEnv

Thanks,
Pratik

On 9/7/05, Anthony Gardner <[EMAIL PROTECTED]> wrote:
> Hola,
> 
> We're using apache/1.3.33 and mod_perl/1.29.
> 
> the problem is, a personal ENV variable is set in my
> environment and read from a script like .....
> 
> my $ENVNAME   = $ENV{MY_PERSONAL_ENV} || 'STHELSE';
> 
> When the server is started a fresh, I can display my
> ENV on my webpage but when I press refresh, it
> disappears ...... never to be seen again.
> 
> The contents of the ENV var is used to find a file and
> require it. So .....
> 
> require "General/Config_$ENVNAME" ;
> 
> 
> What else do you need to know? Well, the script that
> contains this code is not loaded at server start up
> (not in startup.pl) for instance. Sometimes it works,
> sometimes it doesn't (that old cliche).
> 
> I could try work arounds but b4 I do, I'd like to
> understand what may be going on here.
> 
> any pointers would be great.
> 
> CIA
> 
> -Ants
> 
> 
> 
> 
> 
> 
> 
> 
> ___________________________________________________________
> Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with 
> voicemail http://uk.messenger.yahoo.com
> 


-- 
http://www.rails.info - Coming Soon !

Reply via email to