1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
Source: libsafe-isa-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: Nuno Carvalho <smash@cpan.org>
Section: perl
Testsuite: autopkgtest-pkg-perl
Priority: optional
Build-Depends: debhelper (>= 10)
Build-Depends-Indep: perl
Standards-Version: 4.1.4
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libsafe-isa-perl
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libsafe-isa-perl.git
Homepage: https://metacpan.org/release/Safe-Isa
Package: libsafe-isa-perl
Architecture: all
Depends: ${misc:Depends},
${perl:Depends}
Description: 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.
|