in reply to Getting a file's timestamp and storing this as a variable
Unless I'm missing something obvious...
my $timestamp = -M $outputfile;
Very often, in Perl, a good answer is to type the code that would work if Perl did what you want. Often, it does.
|
|---|