... chdir FILEHANDLE chdir DIRHANDLE ... On systems that support fchdir(2), you may pass a filehandle or directory handle as the argument. On systems that don't support fchdir(2), passing handles raises an exception.