laziness, impatience, and hubris | |
PerlMonks |
Re: Need to delete empty directories.by rinceWind (Monsignor) |
on Mar 09, 2005 at 12:57 UTC ( [id://437884]=note: print w/replies, xml ) | Need Help?? |
The point is, that you have an empty skeleton directory tree. The toppermost directories are not themselves empty as they contain directories.
Here is a technique I use in one of my module tests for removing the directory 'test' and anything below: In case you are wondering about 1 while unlink, check out the node. --
In Section
Seekers of Perl Wisdom
|
|