Search notes:

Perl module Path::Class

use warnings;
use strict;

use Path::Class;

my $dir_ = dir('..','..');

# $dir_ is a Path::Class::Dir object
print ref $dir_,"\n";

my $h = $dir_ -> open;
while (my $item = $h -> read) {

  # turn $item into a Path::Class::File object
  my $file_ = $dir_ -> file($item);

  printf "%-20s %s\n", $item,  $file_;
}
Github repository PerlModules, path: /Path/Class/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...', 1744799788, '13.59.79.237', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/languages/Perl/modules/Path/Class/index(53): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78