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!
Priority 1, Priority 2, Priority 3
Priority 1, Priority 0, Priority -1
Urgent, important, favour
Data loss, bug, enhancement
Out of scope, out of budget, out of line
Family, friends, work
Impossible, inconceivable, implemented
Results (15 votes),