2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018

03/01/2003: 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.



subscribe via RSS