A good starting place for dealing with resources on a win32
network is the module (drum roll, please ...) Win32::NetResources
available on CPAN. | [reply] |
I tend to build from scratch, so I'd say look at Net::FTP to get the files from the machines. Script your session so that it names the incoming files in a manner that represents where they came from.
Loop through the machine names any way you want--there's probably a way to use map.
Update: You can tell I think in UNIX, can't you?
adamsj
They laughed at Joan of Arc, but she went right ahead and built it. --Gracie Allen | [reply] |
I'm not sure if using Net:FTP will be the best idea for connecting to my machines. They are production boxes. and i am also a novice in perl. :)
Ray
| [reply] |
I think you could distribute a script to all the remotes that ftp'ed the file back to the central server. Of course, you might be able to schedule a simple batch script to do that-- as opposed to having to put perl on all those machines.
Or assuming you have mounted the central server as a drive on all the remotes, instead of FTPing the file you just copy it over. Making sure to perhaps change the filename so there aren't collisions, or giving each remote its own subdir on your server.
| [reply] |