|Just another Perl shrine|
cpan module to do stuff remotelyby Steve_BZ (Chaplain)
|on Jun 05, 2012 at 20:40 UTC||Need Help??|
Steve_BZ has asked for the
wisdom of the Perl Monks concerning the following question:
I'm looking for a cpan module which reads through some sort of file (eg a shell file) and executes system commands, and then checks for errors. It seems like this was what perl was built for:
Eg I might have a text file called update.sh, that looks like this:
You get the idea. What I would like is a perl module that can read through such a file and execute the system maintenance commands on a remote PC.
These are my limitations:
What do you think?
I am looking at Net::SSH::Perl and Sys::Manage::Desktops, but I'm not sure yet whether they meet my needs. How do you do this on your setups?
Thanks and regards
* = Update