Search notes:

Perl module String::Diff

use warnings;
use strict;
use feature 'say';

use String::Diff;

my ($one, $two) = String::Diff::diff (
                    'Well, a bit here and a bit there',
                    'ok, a bit in San Francisco and a bit in New York',
                    remove_open  => '<strike>',
                    remove_close => '</strike>',
                    append_open  => '<b>',
                    append_close => '</b>');

say $one;
say $two;
__END__
<strike>Well</strike>, a bit <strike>he</strike>r<strike>e</strike> and a bit <strike>th</strike>er<strike>e</strike>
<b>ok</b>, a bit <b>in San F</b>r<b>ancisco</b> and a bit <b>in N</b>e<b>w Yo</b>r<b>k</b>
Github repository PerlModules, path: /String/Diff/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...', 1759391081, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/languages/Perl/modules/String/Diff/index(54): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78