Cari di Perl 
    Perl User Manual
Daftar Isi
(Sebelumnya) Change a filenameGet a file's status infor ... (Berikutnya)
Functions for filehandles, files, or directories

Remove a directory

Daftar Isi

  • rmdir FILENAME

  • rmdir

    Deletes the directory specified by FILENAME if that directory isempty. If it succeeds it returns true; otherwise it returns false andsets $! (errno). If FILENAME is omitted, uses $_.

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

 
Source : perldoc.perl.org - Official documentation for the Perl programming language
Site maintained by Jon Allen (JJ)     See the project page for more details
Documentation maintained by the Perl 5 Porters
(Sebelumnya) Change a filenameGet a file's status infor ... (Berikutnya)