Search notes:

Perl module Cwd

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

use Cwd qw(abs_path cwd getcwd);

say "abs_path: ", abs_path($0); # Get the full path to a Perl script that is executing / Compare with File::Spec, File::Spec->rel2abs
say "cwd:      ", cwd;          # Get path of current working directory (without trailing slashes)
say "getcwd:   ", getcwd;       # compare with cwd
Github repository PerlModules, path: /Cwd/script.pl
Perl modules
Perl function: chdir

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...', 1741107425, '3.21.244.97', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/languages/Perl/modules/Cwd/index(47): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78