=over =item rmdir FILENAME X<rmdir> X<rd> X<directory, remove> =item rmdir Deletes the directory specified by FILENAME if that directory is empty. If it succeeds it returns true; otherwise it returns false and sets L<C<$!>|perlvar/$!> (errno). If FILENAME is omitted, uses L<C<$_>|perlvar/$_>. To remove a directory tree recursively (C<rm -rf> on Unix) look at the L<C<rmtree>|File::Path/rmtree( $dir )> function of the L<File::Path> module. =back