develooper Front page | perl.beginners | Postings from December 2002

file time

Thread Next
From:
Jerry Preston
Date:
December 11, 2002 07:51
Subject:
file time
Message ID:
EJEPLDOEJJFGGMELFFMKGEHAENAA.g-preston1@ti.com
Hi!

I am trying to get the current file time by the following:

      $file_datetime = ctime( stat( "$file_name" )->mtime );

All I get is the time that the file was created.  What am I doing wrong?

Thanks,

Jerry


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About