Search notes:

Perl module File::Compare

use warnings;
use strict;

use File::Compare;


if (compare('a.txt', 'b.txt') == 0) {
  print "a.txt == b.txt\n";
}
else {
  print "a.txt != b.txt\n";
}

if (compare('a.txt', 'c.txt') == 0) {
  print "a.txt == c.txt\n";
}
else {
  print "a.txt != c.txt\n";
}
Github repository PerlModules, path: /File/Compare/script.pl
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...', 1744800574, '18.226.93.94', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/languages/Perl/modules/File/Compare/index(54): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78