Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Comparison Of Files

by extremely (Priest)
on Dec 06, 2000 at 03:50 UTC ( [id://45129]=note: print w/replies, xml ) Need Help??


in reply to Comparison Of Files

This is off from the main question but why run two different scripts on odd days? Just run one script. Have it copy the older file back and then create a new file.
use File::Copy; move '/path/newsite2.txt', '/path/newsite3.txt'; #just in case move '/path/newsite1.txt', '/path/newsite2.txt'; #Back up #create newsite1.txt

Really, maintaining just one script is worth the extra line or two...

--
$you = new YOU;
honk() if $you->love(perl)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-25 06:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found