Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: To call remote file.

by WalkingZero (Sexton)
on Aug 21, 2007 at 06:44 UTC ( #634017=note: print w/ replies, xml ) Need Help??


in reply to To call remote file.

You mean the parent script is running in windows and you want it to call a pre-existing script on a different box running a UNIX system? There are several ways to do this(after all TIMTWTDI). It would really depends what kind of connection there is between the two boxes for what the best way to handle it is. Are you running file-shares between the two? Telnet? SSH? The best way to do it is going to depend on what kind of access you have available.


Comment on Re: To call remote file.
Re^2: To call remote file.
by Anonymous Monk on Aug 21, 2007 at 12:32 UTC
    Hi,

    Thanks for your replay,

    1) Not using file-share between two.

    2) access the unix through Telnet.

      That's easy then, just install the Net::Telnet module. You can download it of course from cpan.org. Make sure to read up on the functions, but it should be quite easy to do what you are asking through Telnet.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (14)
As of 2014-09-02 19:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (29 votes), past polls