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

Re: File test to see creation time rather than last modified time

by kennethk (Abbot)
on Feb 05, 2009 at 16:57 UTC ( [id://741605]=note: print w/replies, xml ) Need Help??


in reply to File test to see creation time rather than last modified time

This is platform dependent. On M$, you can use stat but not on Mac or *NIX. *NIX does not store the information at all (see the stat(2) man pages). Details on implementation of the Perl function are in perlport. Your best bet if you are not on M$ is using utime to reset the modification time, as per almut's comment.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-03-28 19:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found