<[EMAIL PROTECTED]> asked: > I want to add an environment variable in Perl. Is there any > built-in function for achieving this?
$ENV{'variablename'} = $value; Just remember that you can't modify the environment of your parent process, but only that of your own (sub-)process(es). HTH, Thomas -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>