Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: comparing

by kschwab (Priest)
on Aug 14, 2002 at 15:56 UTC ( #190131=note: print w/ replies, xml ) Need Help??


in reply to comparing file times

Would print -1,0,1 if the first file was older,the same, or newer than the second file:

print "" . ( (stat($ARGV[0]))[9] <=> (stat($ARGV[1]))[9] ) ."\n";


Comment on Re: comparing
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2014-07-31 04:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (244 votes), past polls