Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^4: run a perl script on a unix machine from a win machine

by akrrs7 (Acolyte)
on Dec 01, 2011 at 15:45 UTC ( [id://941100]=note: print w/replies, xml ) Need Help??


in reply to Re^3: run a perl script on a unix machine from a win machine
in thread run a perl script on a unix machine from a win machine

Yes...that is exactly what I would like to achieve.
  • Comment on Re^4: run a perl script on a unix machine from a win machine

Replies are listed 'Best First'.
Re^5: run a perl script on a unix machine from a win machine
by marto (Cardinal) on Dec 01, 2011 at 15:57 UTC

    Then this isn't going to work. You should read and understand what plink does, and think about how perl works too. IMHO you should write a script which copies your file to the target servers, connects to each server in turn (via the likes of Net::SSH) executes the script and captures (or transfers) the results/output if appropriate.

      Exactly! I totally agree. Having a UNIX machine interpret a Perl script from your PC is not the best of software development practices. You can add a section in the script to FTP it to your local system or even email it to you if the command line email client is enabled on the servers.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-16 11:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found