https://bugzilla.redhat.com/show_bug.cgi?id=855656

            Bug ID: 855656
        QA Contact: [email protected]
          Severity: medium
           Version: rawhide
          Priority: medium
                CC: [email protected],
                    [email protected]
          Assignee: [email protected]
           Summary: Review Request: perl-Safe-Isa - Call isa, can, does
                    and DOES safely on things that may not be objects
        Regression: ---
      Story Points: ---
    Classification: Fedora
                OS: Linux
          Reporter: [email protected]
              Type: ---
     Documentation: ---
          Hardware: All
        Mount Type: ---
            Status: NEW
         Component: Package Review
           Product: Fedora

Spec URL: http://fedorapeople.org/~iarnell/review/perl-Safe-Isa.spec
SRPM URL:
http://fedorapeople.org/~iarnell/review/perl-Safe-Isa-1.000002-1.fc19.src.rpm
Koji URL: https://koji.fedoraproject.org/koji/taskinfo?taskID=4469632

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to