in reply to folder properties / modified date
You can use the function stat for getting informations about a file:
You can also use the file test operators for that.
more information about stat(): perldoc -f statmy @info = stat($file); my $last_access = $info[8]; my $last_modification = $info[9];
You can also use the file test operators for that.
For more information read perldoc perlop# Age of file in days since modification: -M $file # Age of file in day since last access: -A $file # Age of file in days since inode change: -C $file
|
---|
In Section
Seekers of Perl Wisdom