|go ahead... be a heretic|
Removing Directory and Contents with Perlby htmanning (Monk)
|on Mar 01, 2007 at 22:09 UTC||Need Help??|
htmanning has asked for the
wisdom of the Perl Monks concerning the following question:
I'm trying to have my script remove a directory and its contents (if any) but I've tried these and they don't work.
I've also tried this...
and I've tried this...
All three leave the directory there if it is not empty. If it's empty it gets deleted.