in reply to File::Find help

use File::Find; finddepth sub { -d $_ and rmdir $_ }, "yourtopoftree";

should work to remove empty directories.