If you don't mind going to the shell...
my @empty_directories = `find $dir -type d -empty -print`;
If you do mind going to the shell, you could use File::Find with a wanted function that checks directories for emptiness (opendir, readdir, see what's there).
In reply to Re: Empty Folders
by kyle
in thread Empty Folders
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |