Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

by kennethk (Monsignor)
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2015-02-01 06:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (263 votes), past polls