Environment Variables

Environment variables are used to set user preferences. Individual Perl modules or programs are always free to define their own environment variables, and there is also a set of special environment variables that are used in the CGI environment (see CGI Overview).

Perl uses the following environment variables:

Perl also has environment variables that control how Perl handles data specific to particular natural languages. See the perllocale manpage.