Webmaster in a Nutshell

Previous Chapter 15
Perl Quick Reference
Next
 

15.27 Environment Variables

Perl uses the following environment variables:

HOME

Used if chdir has no argument.

LOGDIR

Used if chdir has no argument and HOME is not set.

PATH

Used in executing subprocesses, and in finding the Perl script if -S is used.

PERL5LIB

A colon-separated list of directories to look in for Perl library files before looking in the standard library and the current directory.

PERL5DB

The command to get the debugger code. Defaults to BEGIN { require 'perl5db.pl' }.

PERLLIB

Used instead of PERL5LIB if the latter is not defined.


Previous Home Next
Special Arrays Book Index The Perl Debugger

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell