rmdir name
Deletes the directory specified by name if it is empty. If it succeeds, it returns 1; otherwise, it returns 0 and puts the error code into $!. If name is omitted, the function uses $_.
1
0
$!
$_
Copyright © 2001 O'Reilly & Associates. All rights reserved.