Skip navigation.
Home
Your source for Perl tips, howto's, faq and tutorials
( categories: )

All the environment variables can be accessed through the %ENV hash variable

Example:
print "Your current PATH environment variable is $ENV{PATH} \n";

NOTE:
You can add or modify environment variables using %ENV, but the changes are only valid for the current and child processes.