Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Answer: How do I execute a list of Unix commands from inside a perl program

( #60719=categorized answer: print w/ replies, xml ) Need Help??

Q&A > network programming > How do I execute a list of Unix commands from inside a perl program contributed by cleen

IMHO with the information provided, it would be best to have the script on one server parse out the commands then do a form of remote command via ssh or kerberized (encrypted) rsh.
open(CMDS, "file_of_commands"); while (<CMDS>) { chomp; # ssh -l username machine "$_"; }

Comment on Answer: How do I execute a list of Unix commands from inside a perl program
Download Code
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2014-07-13 06:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (247 votes), past polls