[EMAIL PROTECTED] [d], on Tuesday, February 1, 2005 at 09:58 (-0500)
thinks about:

d> I want to delete the files from a directory then delete the directory.

use File::Path;
$remove = 'C:\temp';
rmtree($remove) if -e $remove;

more @ http://search.cpan.org/~nwclark/perl-5.8.6/lib/File/Path.pm

-- 

 ...m8s, cu l8r, Brano.

[Quarterbacks do it from behind]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to