
File::EmptyDirs - subs to help remove all empty dirs recursively

Nothing exported by default. The code is self exclusive, that is, if you pass dir /home/myself, it will not delete /home/myself if it is an empty dir.

use File::Empty::Dirs 'remove_empty_dirs';
remove_empty_dirs('/home/myself');
argument is an abs path to a directory will remove all empty directories within that filesystem hierarchy returns number of dirs removed

Leo Charre leocharre at cpan dor org
