Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Connect to Remoteserver from perl

by senthilkumarperl (Novice)
on May 12, 2011 at 09:04 UTC ( #904321=perlquestion: print w/ replies, xml ) Need Help??
senthilkumarperl has asked for the wisdom of the Perl Monks concerning the following question:

This is my xx.xxx.xx.xxx (IP Remote Server) .In that Server There is my perl file .I want to run that perl file from my local machine by perl script..If you have any idea ,could you share ?

Comment on Connect to Remoteserver from perl
Re: Connect to Remoteserver from perl
by Corion (Pope) on May 12, 2011 at 09:10 UTC

    How would you do it without Perl?

    If you would do it by using ssh, there are SSH modules for automating that.

    If you would do it by using a web browser, there are WWW::Mechanize modules for automating that, and modules for implementing that.

    If you would do it by mail, there are modules for implementing that, too.

    You don't tell us how you want to launch the script, so we can't be more specific. If you don't know what method to choose, ask your system administrator about the best choice for your network policies.

      Thank your for reply.We got this IP(xx.xxx.xx.xx) from x provider.Usually what we do that we run our perl script by logging into server manually.I want to connect to that server and need to run perl script by perl program.Is there any module?. could you explain ?
        Please, read again the previous reply and try to answer the questions. We cannot help you if we do not know how you usually log into the server, and we cannot know it if you do not tell us.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://904321]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (18)
As of 2014-07-22 16:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (119 votes), past polls