| Name: | perl-Safe-Isa |
| Version: | 1.000005 |
| Release: | 2.el7 |
| Architecture: | noarch |
| Group: | Development/Libraries |
| Size: | 12109 |
| License: | GPL+ or Artistic |
| RPM: |
perl-Safe-Isa-1.000005-2.el7.noarch.rpm
|
| Source RPM: |
perl-Safe-Isa-1.000005-2.el7.src.rpm
|
| Build Date: | Fri Nov 03 2017 |
| Build Host: | x86-ol7-builder-03.us.oracle.com |
| Vendor: | Oracle America |
| URL: | http://search.cpan.org/dist/Safe-Isa/ |
| Summary: | Call isa, can, does and DOES safely on things that may not be objects |
| Description: | How many times have you found yourself writing:
if ($obj->isa('Something')) {
and then shortly afterwards cursing and changing it to:
if (Scalar::Util::blessed($obj) and $obj->isa('Something')) {
Right. That's why this module exists. |