http://qs321.pair.com?node_id=87919


in reply to Posting file's modification date?

You will find a discussion here Find and check timestamps of files. The answer is basically

$mod = (stat "$path/$filename")[9]; # this prints result in usual date format # like -> Tue Jun 12 23:50:10 2001 print scalar localtime $mod;

If you use Super Search you will find heaps of examples on this topic floating around the monastery. This is also in the Perl FAQ at How do I get a file's timestamp in perl?. If you have not discoverd the Perl FAQ you are missing out on heaps of goodies.

cheers

tachyon