You'll still need some cooperation from the remote server to get the file. You could FTP it, scp it, put it on the web and get it with LWP... There are lots of different ways.
I think what you need to consider first is when is the best time for the configuration file to be transfered; when it changes, or when the scripts run.
It may make more sense to distribute the configuration file when it changes, and have the scripts just run on a local copy, so that the script doesn't have to open a remote connection everytime it runs. On the other hand, you might want to avoid changing the file on one server and forgetting to upload it to the other server.
That decision will, of course, influence how this system is implemented. | [reply] |
If the files are supposed to be exactly the same, why not
creat the file on your current server and then use FTP to
copy it to the other one?
--
<http://www.dave.org.uk>
"Perl makes the fun jobs fun
and the boring jobs bearable" - me
| [reply] |