File::EmptyDirs - Find all empty directories in a path and remove recursively.

Ever end up with some miscellaneous empty directories in a messy filesystem and you just want to clean up all empty dirs?

For example.. If you have..

/home/myself/tp/this/nada

And the only thing in this is 'nada', and 'nada' does not contain anything, you'd like to remove both of those. This is what to use.

Nothing exported by default.

The operation is self exclusive, that is, if you pass dir /home/myself, it will not delete /home/myself if it is an empty dir.

INSTALLATION

perl Makefile.PL
make test
make install

DEPENDENCIES

Carp
Cwd
Exporter
File::Find::Rule
File::Find::Rule::DirectoryEmpty
File::Path
LEOCHARRE::CLI2
Smart::Comments
Test::Simple

COPYRIGHT AND LICENCE

Copyright (C) 2010 by Leo Charre leocharre at cpan dot org

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.