Even as shell script, I am getting same output as perl.
i.e on remote machine commands are not getting executing.
Any suggestions to improve the code ?
| [reply] |
RajNaidu:
If it's doing the same as a shell script, then it's not a perl problem. Solve the problem, and *then* bundle it into a perl script. There are many unix support forums that can help you with that bit.
Having said that, I'd suggest doing something simple in your remsh script to help you find the problem, such as:
set >RajNaidu.test.remsh
Then log into the remote machine and locate the RajNaidu.test.remsh file and check that the directory and environment is what you expect. Then add bits of your script to it and echo your errors to a file to get clues as to what's failing and why.
...roboticus
When your only tool is a hammer, all problems look like your thumb. | [reply] [d/l] |