Find the date of a file with Perl

By | August 8, 2009

I need to do an incremental download and I need to know the date of the previews file. I found an interesting function in Perl:

my $date = localtime( (stat HANDLE)[9] );

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.