Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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";

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://190131]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2016-12-02 23:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (51 votes). Check out past polls.