Programming Perl

Programming PerlSearch this book
Previous: 3.2.128 rindexChapter 3
Functions
Next: 3.2.130 s///
 

3.2.129 rmdir

rmdir FILENAME

This function deletes the directory specified by FILENAME if it is empty. If it succeeds, it returns 1, otherwise it returns 0 and puts the error code into $!. If FILENAME is omitted, the function uses $_.


Previous: 3.2.128 rindexProgramming PerlNext: 3.2.130 s///
3.2.128 rindexBook Index3.2.130 s///