Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by kennethk (Abbot)
on Feb 05, 2009 at 16:57 UTC ( #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.
  • Comment on Re: File test to see creation time rather than last modified time

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://741605]
help
Chatterbox?
[Discipulus]: good morning marto

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2017-06-26 09:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (576 votes). Check out past polls.