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!
An Englishman in New York
An American Werewolf in London
An American in Paris
The Innocents Abroad
An Idiot Abroad
Robinson Crusoe on Mars
A Connecticut_Yankee in King Arthur's Court
There and Back Again
Travels into Several Remote Nations of the World
Results (74 votes). Check out past polls.