SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Acme-Holy rpm build for : openSUSE Tumbleweed. For other distributions click perl-Acme-Holy.

Name : perl-Acme-Holy
Version : 0.03 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : 8.90 Date : 2024-08-28 23:01:52
Group : Development/Libraries/Perl Source RPM : perl-Acme-Holy-0.03-8.90.src.rpm
Size : 0.02 MB
Packager : (none)
Summary : Test whether references are blessed
Description :
*Acme::Holy* provides a single routine, *holy()*, which returns the name of
the package an object has been \'bless\'ed into, or \'undef\', if its first
argument is not a blessed reference.

Isn\'t this what \'ref()\' does already? Yes, and no. If given a blessed
reference, \'ref()\' will return the name of the package the reference has
been blessed into. However, if \'ref()\' is passed an unblessed reference,
then it will return the type of reference (e.g. \'SCALAR\', \'HASH\',
\'CODEREF\', etc). This means that a call to \'ref()\' by itself cannot
determine if a given reference is an object. *holy()* differs from \'ref()\'
by returning \'undef\' if its first argument is not a blessed reference (even
if it is a reference).

Can\'t we use \'UNIVERSAL::isa()\'? Yes, and no. If you already have an
object, then \'isa()\' will let you know if it inherits from a given class.
But what do we do if we know nothing of the inheritance tree of the
object\'s class? Also, if we don\'t have an object, just a normal reference,
then attempting to call \'isa()\' through it will result in a run-time error.

*holy()* is a quick, single test to determine if a given scalar represents
an object (i.e. a blessed reference).

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-A/openSUSE_Tumbleweed/x86_64

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-Acme-Holy-0.03-8.90.x86_64.rpm
     

Provides :
perl(Acme::Holy)
perl-Acme-Holy
perl-Acme-Holy(x86-64)

Requires :
ld-linux-x86-64.so.2()(64bit)
ld-linux-x86-64.so.2(GLIBC_2.3)(64bit)
perl(:MODULE_COMPAT_5.40.0)
perl(Test::Exception)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.40.0/x86_64-linux-thread-multi/Acme
/usr/lib/perl5/vendor_perl/5.40.0/x86_64-linux-thread-multi/Acme/Holy.pm
/usr/lib/perl5/vendor_perl/5.40.0/x86_64-linux-thread-multi/auto/Acme
/usr/lib/perl5/vendor_perl/5.40.0/x86_64-linux-thread-multi/auto/Acme/Holy
/usr/lib/perl5/vendor_perl/5.40.0/x86_64-linux-thread-multi/auto/Acme/Holy/Holy.so
/usr/share/doc/packages/perl-Acme-Holy
/usr/share/doc/packages/perl-Acme-Holy/Changes
/usr/share/doc/packages/perl-Acme-Holy/README
/usr/share/man/man3/Acme::Holy.3pm.gz

 
ICM