next up previous contents
Next: File and Directory Manipulation Up: Interacting with the Operating Previous: The system function   Contents

Environmental Variables

In perl, the operating systems environmental variables are stored in a special hash called %ENV. The keys to the hash are the names of the environmental variables, and the values of the hash are the values of the corresponding variables. In addition to being able to use the existing values of the environmental variables, you can modify the value of any of the environmental variables, sometimes changing the way that perl interacts with the operating system.



Phil Spector 2002-10-18