Perl Programming/Keywords/rmdir

Previous: rindex Keywords Next: s

The rmdir keywordEdit

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.

SyntaxEdit

  rmdir FILENAME
  rmdir

ExamplesEdit

rmdir DataDir\abcweb

See alsoEdit

chdir closedir mkdir opendir readdir rewinddir rmdir seekdir telldir
Previous: rindex Keywords Next: s