Bug#683434: ITP: libsafe-isa-perl -- Safe::Isa - call isa, can, does and DOES safely on things that may not be objects
Package: wnpp
Severity: wishlist
Owner: Nuno Carvalho <smash@cpan.org>
* Package name : libsafe-isa-perl
Version : 1.000002
Upstream Author : Matt S. Trout <mst@shadowcat.co.uk>
* URL : http://search.cpan.org/dist/Safe-Isa/
* License : Artistic 1, GPL 1
Programming Lang: Perl
Description : Safe::Isa - call isa, can, does and DOES safely on things that may not be objects
Since perl allows us to provide 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, we can create safe versions
of isa, can and friends by using a subroutine reference that only tries to
call the method if it's used on an object.
Reply to: