[ 源代码: libsafe-isa-perl ]
软件包:libsafe-isa-perl(1.000010-1)
libsafe-isa-perl 的相关链接
Debian 的资源:
下载源码包 libsafe-isa-perl:
- [libsafe-isa-perl_1.000010-1.dsc]
- [libsafe-isa-perl_1.000010.orig.tar.gz]
- [libsafe-isa-perl_1.000010-1.debian.tar.xz]
维护小组:
外部的资源:
- 主页 [metacpan.org]
相似软件包:
module for safely calling isa and friends on things that may not be objects
Since Perl allows providing a subroutine reference, or a method name, to the -> operator (when used as a method call) and a subroutine doesn't require the invocant to actually be an object, Safe::Isa can be used to create safe versions of isa, can, does and DOES by using a subroutine reference that only tries to call the method if it's actually used on an object.