http://www.perlmonks.org?node_id=634017


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.

Replies are listed 'Best First'.
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.