How to Unset or Undefine Environment Variables Using Perl
How to Unset or Undefine Environment Variables Using Perl
Environment variables are stored as entries in the %ENV
hash. Therefore you can use the delete()
function to unset them. Sometimes unsetting environment variables is usefull to control the environment of a child process.