Perl Get File Modification Date

[Solved] Perl Get File Modification Date | Perl - Code Explorer | yomemimo.com
Question : perl get file modification date

Answered by : steamboatid

my $epoch_timestamp = (stat($filename))[9];
my $timestamp = localtime($epoch_timestamp);

Source : https://stackoverflow.com/questions/509576/how-do-i-get-a-files-last-modified-time-in-perl | Last Update : Sat, 11 Sep 21

Answers related to perl get file modification date

Code Explorer Popular Question For Perl