in reply to Can File:Find be used to find empty dirs?
Consider using File::Find::Rule::DirectoryEmpty which inherits File::Find::Rule to recursively find empty directories:
my $dir = 'C:/Temp/';
my @emptydirs = File::Find::Rule->directoryempty->in($dir);
print "$_\n" for @emptydirs;
Hope this helps!
Thanks for the code looks simple enough, I'll just have to convince IT to install that module.
Thanks to reply above this one too.
You're most welcome, PerlPlay!
Once (shame on you!)
Twice (shame on me!)
More often than I'd like to be
All the time
Just when answering stupid polls
Who you callin' a fool?
I refuse to vote in this ridiculous poll
Results (476 votes). Check out past polls.