Perl Programming/Keywords/rmdir
The rmdir keyword
editrmdir removes the directory with the name specified by FILENAME, if the directory is empty. rmdir returns true on success and false otherwise, setting $! (errno). Without FILENAME, contents of $_ are used.
Syntax
edit rmdir FILENAME
rmdir
Examples
editrmdir DataDir\abcweb
See also
editchdir |
closedir |
mkdir |
opendir |
readdir |
rewinddir |
rmdir |
seekdir |
telldir
|