in reply to File::Find help
use File::Find; finddepth sub { -d $_ and rmdir $_ }, "yourtopoftree";
should work to remove empty directories.
|
---|
In Section
Seekers of Perl Wisdom
in reply to File::Find help
use File::Find; finddepth sub { -d $_ and rmdir $_ }, "yourtopoftree";
should work to remove empty directories.
|
---|