
Laurent_R
Veteran
/ Moderator
Dec 23, 2012, 4:11 AM
Post #2 of 6
(5100 views)
|
Re: [sheet.pangasa] Overriding the Environment Variables
[In reply to]
|
Can't Post
|
|
In a Perl script, the environment variables are stored in the %ENV hash. Try for example:
perl -e 'print $ENV{"HOME"};' Your program can modify (or override locally) at least some of these environment variables, for example: Else, you can also export environment variables un a shell script.
|