Search notes:

Perl module UNIVERSAL

UNIVERSAL is the class from which all other blessed objects derive.
It provides the following methodes:
#!/usr/bin/perl
use warnings;
use strict;

use UNIVERSAL;

my $universal = {};
bless $universal, 'UNIVERSAL';

printf "isa :    %d\n", $universal->isa('foo');
printf "isa :    %d\n", $universal->isa('UNIVERSAL');

printf "DOES:    %d\n", $universal->DOES('foo');
printf "DOES:    %d\n", $universal->DOES('UNIVERSAL');

printf "can:     %d\n", $universal->can('can');
printf "can:     %d\n", $universal->can('isa');
printf "can:     %d\n", $universal->can('buy') // 0;

printf "VERSION: %s\n", $universal->VERSION();
Github repository PerlModules, path: /UNIVERSAL/script.pl

See also

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