Blog
Developers
Careers
Support
Contact
Gossamer Threads
Solutions
Results
About
Mailing Lists
Resource Centre
Forum
Tools
Home
Who's Online
Tags
Favourites
Login
Register
Forum Search
(
Advanced Search
)
This forum
This category
All forums
for
Home
:
General
:
Perl Programming
:
delete a file
Previous Thread
Next Thread
Print Thread
View Threaded
Aug 6, 1999, 8:44 PM
Pasha1
User
(207 posts)
Aug 6, 1999, 8:44 PM
Post #1 of 3
Views: 398
Shortcut
delete a file
To create a file:
Code:
open (DAT, ">>$file");
close DAT;
but how do I delete a file?
Aug 7, 1999, 9:10 AM
matt
Novice
(24 posts)
Aug 7, 1999, 9:10 AM
Post #2 of 3
Views: 386
Shortcut
Re: delete a file
In reply to
Code:
unlink ($file)
This will delete a file.
Aug 7, 1999, 9:26 AM
Pasha1
User
(207 posts)
Aug 7, 1999, 9:26 AM
Post #3 of 3
Views: 386
Shortcut
Re: delete a file
In reply to
Works great. Thanks!
Previous Thread
Next Thread
Print Thread
View Threaded