You are viewing the version of this documentation from Perl 5.005. View the latest version
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().