how to set shell env variable from perl script ??
%ENV contains all the environment variable details.
So you could add/modify the key/value of this hash as you normally do in hashes.
e.g setting env variable TEST
$ENV{'TEST'} = 'some_value';
Please use proper subject while posting your problems. ( rule #11)