http://www.perlmonks.org?node_id=304

chdir

See the current Perl documentation for chdir.

Here is our local, out-dated (pre-5.6) version:


chdir - change your current working directory



chdir EXPR



Changes the working directory to EXPR, if possible. If EXPR is omitted, changes to home directory. Returns TRUE upon success, FALSE otherwise. See example under die().