Search notes:

Perl module File::stat

#
#   See also https://github.com/ReneNyffenegger/about-perl/blob/master/functions/stat.pl
#
use warnings;
use strict;

use File::stat;

use POSIX 'strftime';

my $s = stat($0);

print "Last modification time: ", strftime ('%H:%M:%S %d.%m.%Y', localtime ($s->mtime)), "\n";
print "Last access time:       ", strftime ('%H:%M:%S %d.%m.%Y', localtime ($s->atime)), "\n";
print "Last change time:       ", strftime ('%H:%M:%S %d.%m.%Y', localtime ($s->ctime)), "\n";
Github repository PerlModules, path: /File/stat/script.pl

See also

Perl function: stat
Perl modules.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1759391606, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/languages/Perl/modules/File/stat/index(55): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78