Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Answer: How do I invoke a procedure on a server remotely?

by chromatic (Archbishop)
on Apr 03, 2000 at 18:57 UTC ( #6726=categorized answer: print w/replies, xml ) Need Help??

Q&A > network programming > How do I invoke a procedure on a server remotely? - Answer contributed by chromatic

If you want to get the output from another script, it's as simple as using LWP::Simple. See How can I load a webpage into my program?. That assumes that the script on another server is CGI and available through HTTP access.

If you're looking to execute a script through rsh or ssh or telnet, look for the Expect module. You can write something like a chat script with it.

  • Comment on Answer: How do I invoke a procedure on a server remotely?
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[atcroft]: .oO(It is a well-known, well-tried module that has probably encountered more corner-cases and oddities than the average mortal programmer can imagine when trying to roll their own...)
[atcroft]: .oO(*Blah* It, I meant....)
[james28909]: omg
[james28909]: im just finding out that july and august have 31 days?
[atcroft]: stevieb: Apparently it was contagious....

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2017-04-29 04:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (531 votes). Check out past polls.