in reply to execute script on remote server

Maybe SOAP::Lite should be something you should look into?