localtime, gmtime, or POSIX::strftime() to
convert this into human-readable form.
Here's an example:
    $write_secs = (stat($file))[9];
    print "file $file updated at ", scalar(localtime($file)), "\n";
If you prefer something more legible, use the File::stat module (part of the standard distribution in version 5.004 and later):
    use File::stat;
    use Time::localtime;
    $date_string = ctime(stat($file)->mtime);
    print "file $file updated at $date_string\n";
Error checking is left as an exercise for the reader.