[Chapter 15] 15.27 Environment Variables
Author: Stephen Spainhour and Valerie Quercia
Date: Fri Aug 29 18:13:40 1997

#

| Chapter 15 Perl Quick Reference |

## 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.

Special Arrays |  | The Perl Debugger