|
-
Mar 7th, 2002, 05:54 PM
#1
Thread Starter
Hyperactive Member
Perl - help
is there a way to clear a file like every five minets or so like when people asses the code if it has been more than five minets since last view it will clear it.
-
Mar 7th, 2002, 06:01 PM
#2
Stuck in the 80s
Use another file to store the time each time the file is accessed. When you open it, read the time, if it's been five minutes, erase the file, then print the new time.
-
Mar 7th, 2002, 06:05 PM
#3
Thread Starter
Hyperactive Member
i thought of that to
i thought of that to and thats what i want to do one proble i dont know how could you give me some code to do it
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|