system(del $filename);
-
Scot Robnett
inSite Internet Solutions
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
Edward G. Orton
Sent: Wednesday, November 28, 2001 2:04 PM
To: Perl-Win32-Users Mailing List
Subject:
Do you have the file open?
You cannot delete an open file according to Bill.
open (JUNK, 'junkyfile.txt');
print JUNK STUFF IN junkyfile.txt\n;
close JUNK;
print `type junkyfile.txt`;
unlink 'junkyfile.txt';
print `type junkyfile.txt`;
... prints...
STUFF IN junkyfile.txt
The system cannot