[Bug 855656] New: Review Request: perl-Safe-Isa - Call isa, can, does and DOES safely on things that may not be objects

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

            Bug ID: 855656
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
          Severity: medium
           Version: rawhide
          Priority: medium
                CC: notting@xxxxxxxxxx,
                    package-review@xxxxxxxxxxxxxxxxxxxxxxx
          Assignee: nobody@xxxxxxxxxxxxxxxxx
           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: iarnell@xxxxxxxxx
              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
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]