I would recommend checking out File::Find::Rule, which includes the ability to easily check if the "file" is a directory and if it is empty.
In reply to Re: Can File:Find be used to find empty dirs?
by dasgar
in thread Can File:Find be used to find empty dirs?
by PerlPlay
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |