| 1 | Source: libsafe-isa-perl |
| 2 | Maintainer: Debian Perl Group <[email protected]> |
| 3 | Uploaders: Nuno Carvalho <[email protected]> |
| 4 | Section: perl |
| 5 | Testsuite: autopkgtest-pkg-perl |
| 6 | Priority: optional |
| 7 | Build-Depends: debhelper (>= 10) |
| 8 | Build-Depends-Indep: perl |
| 9 | Standards-Version: 4.1.4 |
| 10 | Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libsafe-isa-perl |
| 11 | Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libsafe-isa-perl.git |
| 12 | Homepage: https://metacpan.org/release/Safe-Isa |
| 13 | |
| 14 | Package: libsafe-isa-perl |
| 15 | Architecture: all |
| 16 | Depends: ${misc:Depends}, |
| 17 | ${perl:Depends} |
| 18 | Description: module for safely calling isa and friends on things that may not be objects |
| 19 | Since Perl allows providing a subroutine reference, or a method name, to |
| 20 | the -> operator (when used as a method call) and a subroutine doesn't require |
| 21 | the invocant to actually be an object, Safe::Isa can be used to create safe |
| 22 | versions of isa, can, does and DOES by using a subroutine reference that |
| 23 | only tries to call the method if it's actually used on an object. |