rmdir function

Remove a directory Deletes the directory specified by FILENAME if that directory is empty. If it succeeds it returns TRUE, otherwise it returns FALSE and sets $! (errno). If FILENAME is omitted, uses $_.