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!
Postpone until later
Each and every
Results (119 votes),