Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

RE: RE: utime vs. open/close

by jjhorner (Hermit)
on Jun 20, 2000 at 04:00 UTC ( #18910=note: print w/replies, xml ) Need Help??


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/

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://18910]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2020-07-13 06:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?