in reply to Deleting a Directory
Are the directories empty?
$ perldoc -f rmdir rmdir FILENAME rmdir Deletes the directory specified by FILENAME if that directory is empty. If it succeeds it returns true, otherwise it returns false and sets "$!" (errno). If FILENAME is omitted, uses "$_".
Maybe you need to go through the directories and delete any files in them.
s**lil*; $*=join'',sort split q**; s;.*;grr; &&s+(.(.)).+$2$1+; $; = qq-$_-;s,.*,ahc,;$,.=chop for split q,,,reverse;print for($,,$;,$*,$/)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Deleting a Directory
by Anonymous Monk on Nov 16, 2006 at 19:06 UTC |