套件: libsafe-isa-perl (1.000010-1)
libsafe-isa-perl 的相關超連結
Trisquel 的資源:
下載原始碼套件 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]
維護者:
Original Maintainers:
- Debian Perl Group (郵件存檔)
- Nuno Carvalho
外部的資源:
- 主頁 [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.