Re: question regarding how to launch perl script on remote machine

[email protected] ("Jeff Peng")
Newsgroups perl.beginners
Message-ID <[email protected]>
On Mon, May 19, 2008 at 10:01 PM, Matthew Whipple
<[email protected]> wrote:
>
> It sounded as though he wanted to run the script on the Linux machine,
> not the server...

That was maybe not correct.
Given the case that he say something like this in his script:

open $pwd, "/etc/passwd" or die $!;

This will open the linux's password file, not the solaris's.

If that was really he wanted originally, then using Net::SSH::Expect
has no problems.

-- 
Jeff Peng - [email protected]
Professional Squid supports in China
http://www.ChinaSquid.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.