Help for this page

Select Code to Download


  1. or download this
    use File::Find qw(finddepth);
    finddepth sub { -d and rmdir $_ and printf STDERR "rmdir: %s\n", $File
    +::Find::name }, @dirs;
    
  2. or download this
    finddepth sub { -d and rmdir $_ }, @dirs;