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.
In reply to Re: Getting a file's timestamp and storing this as a variable
by gwadej
in thread Getting a file's timestamp and storing this as a variable
by buz260
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |