in reply to Re^2: perl -e in ssh
in thread perl -e in ssh

That's a quoting issue: you have '...' around the entire perl command which you pass to ssh, and also '...' around the -e one liner - that's not going to work. Oh, and this has nothing to do with perl, but everything with the shell.

You could try another quoting character, like ", and escape things where necessary.

Replies are listed 'Best First'.
Re^4: perl -e in ssh
by Anonymous Monk on Apr 13, 2010 at 17:22 UTC
    what does '...' mean ? where do you see it ?
      I mean a single quote ', then some characters other than single quotes, and then another single quote.