Leo Charre > File-EmptyDirs-1.02 > File::EmptyDirs

Download:
File-EmptyDirs-1.02.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 1.02   Source   Latest Release: File-EmptyDirs-1.05

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