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

Re^3: run perl script on remote server

by NetWallah (Abbot)
on Sep 08, 2012 at 23:23 UTC ( #992540=note: print w/ replies, xml ) Need Help??


in reply to Re^2: run perl script on remote server
in thread run perl script on remote server

This is the first clue you have given that you are running Windows machines.

IF these machines are on the same domain, and/or IF your login credentials on C have access to the shares on A and B, you can do something like this from the command-line on machine C:

C:\> perl \\A\Path\to\code\share\codefilename.pl \\B\path\to\data\Dat +afile.fil
Then your prograam can use the diamond operator to access the file, without being programmed explicitly for file access on a remote machine.

If the machines do not have explicit shares, and if you have administrator priviledges,
You can access the "hidden" shares at the root of the drive like:

\\A\C$\path\to\data-or-code
Note : C$ indicates the C:\ drive.

             I hope life isn't a big joke, because I don't get it.
                   -SNL


Comment on Re^3: run perl script on remote server
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2014-07-31 00:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (241 votes), past polls