Notes
The 'Environment' script displays the environment variables accessible to the Perl interpreter when a script is invoked. This script is useful for debugging purposes, or simply as a demonstration of how to access the environment variables.
One additional feature of the script is that it can be configured to reveal only a specified subset of variables: this is useful if the results are displayed to outside users, who should perhaps not see every detail of the server's configuration.
A Python version of this script is also available.
|