Results 1 to 3 of 3

Thread: Perl - help

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2001
    Location
    United States
    Posts
    420

    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.

  2. #2
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    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.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2001
    Location
    United States
    Posts
    420

    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
  •  



Click Here to Expand Forum to Full Width