On Tue, 24 Sep 2002, Michael Fowler wrote:

> On Tue, Sep 24, 2002 at 10:38:59AM +0800, [EMAIL PROTECTED] wrote:
> > What's the simplest method to remove a directory *and* it's contents? 
> > (rmdir only works on empty directories.)
> 
> I'm somewhat surprised by the advice given so far (rm -rf and File::Remove;
> the first isn't portable, the second requires going to CPAN).  The simplest
> solution is to use rmtree from File::Path, which comes with Perl.  See
> perldoc File::Path.

Oh that's good - Thanks!

-- 
Eric P.
Sunnyvale, CA


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to