February 2012
Intermediate to advanced
1184 pages
37h 17m
English
rmdir FILENAME
rmdirThis function deletes the directory specified by
FILENAME if that directory is empty. If the
function succeeds, it returns true; otherwise, it returns false. See
also the File::Path module if you want to remove the contents of the
directory first and don’t care to shell out to call rm –r for some reason (such as not having a
shell or an rm command).