ActiveState homepage
docs.activestate.com
ActivePerl 5.28 Documentation
  • Get ActivePerl
      Release notes Windows installation Linux Installaton macOS Installation License
  • Get Started
      Windows Perl 5.28 docs
  • Contact Us

rmdir - perldoc.perl.org
Home  > Language reference > Functions > rmdir
Perl 5 version documentation

rmdir

Perl functions A-Z | Perl functions by category | The 'perlfunc' manpage
  • rmdir FILENAME

  • rmdir

    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 $_ .

    To remove a directory tree recursively (rm -rf on Unix) look at the rmtree function of the File::Path module.

Documentation built with Hugo using the Material theme.
ActiveState Platform   Downloads   Community   Code Recipes  
© 2020 ActiveState Software Inc. All rights reserved. Trademarks. Privacy Policy.