To delete a file:
unlink($filename) or die "can't delete $filename:$!\n";

To delete lots of files:
unlink(@filenames) == @filenames or die "couldn't unlink all of @filenames: $!\n";

To delete a folder:
use File::Path;
rmtree($directory);

>>> Stéphane JEAN BAPTISTE <[EMAIL PROTECTED]> 06/21/01 
>03:03pm >>>


How can I delete a file ?

thanks




This e-mail and any files transmitted with it are confidential 
and solely for the use of the intended recipient. 
ONdigital plc, 346 Queenstown Road, London SW8 4DG. Reg No: 3302715. 

Reply via email to