> Greetings,
> 
> Is there a way on a Linux machine to set some environmental 
> variables on machine boot-up that are automatically available
> to all my perl scripts from the environment?
> 
> For example say I have a Common_Output_Area which my system administrators
> are frequently changing on me.
> 
> I would like to be able to set 
> COMMON_OUTPUT_AREA = "/../../../"
> 
> Have the machine reboot then all my Perl scripts
> could recognize $ENV{'COMMON_OUTPUT_AREA'}
> 

I believe you can hack your variable into

/etc/profile

To have it inherited by /bin/sh which I *believe* is the base
environment for pretty much anything.

HTH,

http://danconia.org

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to