do shell script "perl -MFile::stat -le 'print stat(" &
quoted form of POSIX path of
myFile & ")->atime)'"
--> 1143044640
<AppleScript>
set myFile to choose file
do shell script "perl -MFile::stat -le 'print stat(" & quoted form of
POSIX path of myFile & ")->atime)'"
</AppleScript>
--> Bareword found where operator expected at -e line 1, near \"/
Users/maro\"
(Missing operator before aro?)
syntax error at -e line 1, near \"/Users/maro\"
Execution of -e aborted due to compilation errors."
do shell script "perl -MFile::stat -MPOSIX -le 'print strftime(\"%FT
%T\",
localtime(stat(" & quoted form of POSIX path of
myFile & ")->atime))'
--> "2006-03-22T11:24:00"
<AppleScript>
set myFile to choose file
do shell script "perl -MFile::stat -MPOSIX -le 'print strftime(\"%FT%T
\", localtime(stat(" & quoted form of POSIX path of myFile & ")-
>atime))'"
</AppleScript>
--> "Bareword found where operator expected at -e line 1, near \"/
Users/maro\"
(Missing operator before aro?)
syntax error at -e line 1, near \"/Users/maro\"
Execution of -e aborted due to compilation errors."