qsl has asked for the wisdom of the Perl Monks concerning the following question:
But I am getting the following error,@logfiles = $telobj->cmd("find . -mtime 0 -print"); foreach $logfile (@logfiles) { @contents = $telnet->cmd("($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$siz +e, $atime,$mtime,$ctime,$blksize,$blocks) = stat($logfile)"); print"content=> @contents \n"; }
Let me know monks how i have to solve this issue,I need the mtime of that remote file in @content.content=> ) ksh: syntax error: `=' unexpected
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to execute stat command in remote server
by Tanktalus (Canon) on Jun 28, 2006 at 20:02 UTC | |
|
Re: How to execute stat command in remote server
by salva (Canon) on Jun 28, 2006 at 20:22 UTC | |
by dpath2o (Acolyte) on Nov 26, 2013 at 05:13 UTC | |
by salva (Canon) on Nov 26, 2013 at 10:20 UTC | |
by Anonymous Monk on Nov 26, 2013 at 07:36 UTC | |
by dpath2o (Acolyte) on Nov 26, 2013 at 22:20 UTC |