in reply to Comparing localtime to a remote file's modification time.
$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).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Comparing localtime to a remote file's modification time.
by baerlun (Initiate) on Oct 23, 2006 at 20:41 UTC | |
by ikegami (Patriarch) on Oct 23, 2006 at 21:03 UTC | |
by baerlun (Initiate) on Oct 24, 2006 at 16:41 UTC |