http://www.perlmonks.org?node_id=18910


in reply to RE: utime vs. open/close
in thread utime vs. open/close

Good response, but I have a few counter points:

First point: Didn't think of that.

Second point: The file is there. I don't want creating the file to be part of the issue.

Third point: I'm working on a different version for work where I need both file access time and file modification time.

Fourth point: I didn't really consider that. Oops. I figured there was something wrong somewhere.

Your utime vs openfile comparison is probably what I need most. Since I need to find the best way to update access time only, I need to open read-only and just update access time.

Thanks for the response.

J. J. Horner
Linux, Perl, Apache, Stronghold, Unix
jhorner@knoxlug.org http://www.knoxlug.org/