$FileTime = `ssh $ServerName 'perl -e '(stat($FP_RemoteFile))[9];''`; ^ ^ | | this is quote closed here
You need to escape the 2nd and 3rd single quote. I don't know how to do that in your shell. Perhaps you need to preceed them by \\ (one slash for the shell, and a second one to escape the shell's slash for Perl).
In reply to Re: Comparing localtime to a remote file's modification time.
by ikegami
in thread Comparing localtime to a remote file's modification time.
by baerlun
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |