in reply to File Age in Seconds ? (need more handholding)

$ctime = (stat( $filename ) )[10]; print $ctime;
Boris

Replies are listed 'Best First'.
I misspoke...
by perlAffen (Sexton) on Dec 22, 2005 at 21:10 UTC
    I mean last modified, not creation time.
    Thanks
      perl -le "print(time - ( stat(q[file.txt]) )[9])"
      or perldoc -f stat

      Ted
      --
      "That which we persist in doing becomes easier, not that the task itself has become easier, but that our ability to perform it has improved."
        --Ralph Waldo Emerson