libsafe-isa-perl

module for safely calling isa and friends on things that may not be objects

Description

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.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/Safe-Isa


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libsafe-isa-perl