Perl Programming/Keywords/rmdir
< Perl Programming | Keywords
The rmdir keyword[edit | edit source]
rmdir 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 | edit source]
rmdir FILENAME
rmdir
Examples[edit | edit source]
rmdir DataDir\abcweb
See also[edit | edit source]
chdir |
closedir |
mkdir |
opendir |
readdir |
rewinddir |
rmdir |
seekdir |
telldir
|