Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: Comparison Of Files

by Albannach (Monsignor)
on Dec 05, 2000 at 21:06 UTC ( [id://45023]=note: print w/replies, xml ) Need Help??


in reply to Re: Comparison Of Files
in thread Comparison Of Files

How about something like this to choose the order of files:
if( -M 'newsite1.txt' > -M 'newsite2.txt' ) { compare_sites('newsite1.txt', 'newsite2.txt') } else { compare_sites('newsite2.txt', 'newsite1.txt') }
That way if for some reason the update doesn't run one day, you'll still be comparing the files in proper order.

--
I'd like to be able to assign to an luser

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-16 19:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found