rmdir(FILENAME)

rmdir FILENAME

Deletes the directory specified by FILENAME if it is
empty. If it succeeds it returns 1, otherwise it
returns 0 and sets $! (errno). If FILENAME is omit-
ted, uses $_.