NAME

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

DESCRIPTION

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.

SYNOPSIS

use File::Empty::Dirs 'remove_empty_dirs';

remove_empty_dirs('/home/myself');

remove_empty_dirs()

argument is an abs path to a directory will remove all empty directories within that filesystem hierarchy returns number of dirs removed

AUTHOR

Leo Charre leocharre at cpan dor org

SEE ALSO

File::Find::Rule::DirectoryEmpty