in reply to File Age in Seconds ? (need more handholding)
I prefer the by-name interface that File::stat permits:
use strict; use File::stat; my $mtime = stat('/your/filename')->mtime; [download]