in reply to Re: run perl script on remote server
in thread run perl script on remote server

thanks Rudolf for ur quick reply. First thing is that servers are in different machines. now to run perl script locally we write perl <filename> but in this case how to call it in remote machine could u plz clarify

Replies are listed 'Best First'.
Re^3: run perl script on remote server
by Rudolf (Pilgrim) on Sep 08, 2012 at 14:48 UTC

    Ah, okay the clarification definetly helps. I do not believe there is any other way to send your command over to the server without using another piece of software however depending on the server type itself, you can set up something to listen for you and you can then write to that program ( via TCP connection ) something like you would regularly on your local machine- "perl <filename>" and if you can set up server A to run a system command of the collected data from the socket, it will send "perl <filename> to its local command line.

    It would be important to note what kind of servers they are? Also it would make things a lot easier if they were made out of perl hehe.

    Best of luck though, - Rudolf