new $dh = new DirHandle [dirname] Constructor. Creates a new directory handle. The optional directory name, dirname, defaults to the current directory.