Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help |
The search service can find package by either name (apache), provides(webserver), absolute file names (/usr/bin/apache), binaries (gprof) or shared libraries (libXm.so.2) in standard path. It does not support multiple arguments yet...
The System and Arch are optional added filters, for example System could be "redhat", "redhat-7.2", "mandrake" or "gnome", Arch could be "i386" or "src", etc. depending on your system.
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. 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. So: my $isa_Foo = $maybe_an_object->$_call_if_object(isa => 'Foo'); is equivalent to my $isa_Foo = do { if (Scalar::Util::blessed($maybe_an_object)) { $maybe_an_object->isa('Foo'); } else { undef; } }; Note that we don't handle trying class names, because many things are valid class names that you might not want to treat as one (like say "Matt") - the 'is_module_name' function from Module::Runtime is a good way to check for something you might be able to call methods on if you want to do that. We are careful to make sure that scalar/list context is preserved for the method that is eventually called.
Package | Summary | Distribution | Download |
perl-Safe-Isa-1.000010-19.fc40.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Fedora Rawhide for x86_64 | perl-Safe-Isa-1.000010-19.fc40.noarch.rpm |
perl-Safe-Isa-1.000010-19.fc40.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Fedora Rawhide for aarch64 | perl-Safe-Isa-1.000010-19.fc40.noarch.rpm |
perl-Safe-Isa-1.000010-19.fc40.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Fedora Rawhide for ppc64le | perl-Safe-Isa-1.000010-19.fc40.noarch.rpm |
perl-Safe-Isa-1.000010-19.fc40.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Fedora Rawhide for s390x | perl-Safe-Isa-1.000010-19.fc40.noarch.rpm |
perl-Safe-Isa-1.000010-19.fc40.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Fedora 40 for x86_64 | perl-Safe-Isa-1.000010-19.fc40.noarch.rpm |
perl-Safe-Isa-1.000010-19.fc40.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Fedora 40 for aarch64 | perl-Safe-Isa-1.000010-19.fc40.noarch.rpm |
perl-Safe-Isa-1.000010-19.fc40.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Fedora 40 for ppc64le | perl-Safe-Isa-1.000010-19.fc40.noarch.rpm |
perl-Safe-Isa-1.000010-19.fc40.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Fedora 40 for s390x | perl-Safe-Isa-1.000010-19.fc40.noarch.rpm |
perl-Safe-Isa-1.000010-17.fc39.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Fedora 39 for x86_64 | perl-Safe-Isa-1.000010-17.fc39.noarch.rpm |
perl-Safe-Isa-1.000010-17.fc39.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Fedora 39 for aarch64 | perl-Safe-Isa-1.000010-17.fc39.noarch.rpm |
perl-Safe-Isa-1.000010-17.fc39.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Fedora 39 for ppc64le | perl-Safe-Isa-1.000010-17.fc39.noarch.rpm |
perl-Safe-Isa-1.000010-17.fc39.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Fedora 39 for s390x | perl-Safe-Isa-1.000010-17.fc39.noarch.rpm |
perl-Safe-Isa-1.000010-16.fc38.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Fedora 38 for x86_64 | perl-Safe-Isa-1.000010-16.fc38.noarch.rpm |
perl-Safe-Isa-1.000010-16.fc38.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Fedora 38 for aarch64 | perl-Safe-Isa-1.000010-16.fc38.noarch.rpm |
perl-Safe-Isa-1.000010-16.fc38.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Fedora 38 for ppc64le | perl-Safe-Isa-1.000010-16.fc38.noarch.rpm |
perl-Safe-Isa-1.000010-16.fc38.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Fedora 38 for s390x | perl-Safe-Isa-1.000010-16.fc38.noarch.rpm |
perl-Safe-Isa-1.000010-15.fc37.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Fedora 37 for x86_64 | perl-Safe-Isa-1.000010-15.fc37.noarch.rpm |
perl-Safe-Isa-1.000010-15.fc37.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Fedora 37 for aarch64 | perl-Safe-Isa-1.000010-15.fc37.noarch.rpm |
perl-Safe-Isa-1.000010-15.fc37.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Fedora 37 for ppc64le | perl-Safe-Isa-1.000010-15.fc37.noarch.rpm |
perl-Safe-Isa-1.000010-15.fc37.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Fedora 37 for s390x | perl-Safe-Isa-1.000010-15.fc37.noarch.rpm |
perl-Safe-Isa-1.000010-1.25.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | OpenSuSE Tumbleweed for noarch | perl-Safe-Isa-1.000010-1.25.noarch.rpm |
perl-Safe-Isa-1.000010-1.25.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | OpenSuSE Ports Tumbleweed for noarch | perl-Safe-Isa-1.000010-1.25.noarch.rpm |
Call isa, can, does and DOES safely on things that may not be objects | perl-Safe-Isa-1.000010-1.8.noarch.rpm | ||
perl-Safe-Isa-1.000010-1.el9.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | EPEL 9 for ppc64le | perl-Safe-Isa-1.000010-1.el9.noarch.rpm |
perl-Safe-Isa-1.000010-1.el9.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | EPEL 9 for x86_64 | perl-Safe-Isa-1.000010-1.el9.noarch.rpm |
perl-Safe-Isa-1.000010-1.el9.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | EPEL 9 for aarch64 | perl-Safe-Isa-1.000010-1.el9.noarch.rpm |
perl-Safe-Isa-1.000010-1.el9.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | EPEL 9 for s390x | perl-Safe-Isa-1.000010-1.el9.noarch.rpm |
perl-Safe-Isa-1.000010-1.el8.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | EPEL 8 for ppc64le | perl-Safe-Isa-1.000010-1.el8.noarch.rpm |
perl-Safe-Isa-1.000010-1.el8.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | EPEL 8 for aarch64 | perl-Safe-Isa-1.000010-1.el8.noarch.rpm |
perl-Safe-Isa-1.000010-1.el8.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | EPEL 8 for x86_64 | perl-Safe-Isa-1.000010-1.el8.noarch.rpm |
perl-Safe-Isa-1.000010-1.el8.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | EPEL 8 for s390x | perl-Safe-Isa-1.000010-1.el8.noarch.rpm |
perl-Safe-Isa-1.000010-bp156.3.1.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | OpenSuSE Leap 15.6 for noarch | perl-Safe-Isa-1.000010-bp156.3.1.noarch.rpm |
perl-Safe-Isa-1.000010-bp155.2.12.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | OpenSuSE Leap 15.5 for noarch | perl-Safe-Isa-1.000010-bp155.2.12.noarch.rpm |
perl-Safe-Isa-1.000010-bp154.1.30.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | OpenSuSE Leap 15.4 for noarch | perl-Safe-Isa-1.000010-bp154.1.30.noarch.rpm |
perl-Safe-Isa-1.000010-bp153.1.15.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | OpenSuSE Leap 15.3 for noarch | perl-Safe-Isa-1.000010-bp153.1.15.noarch.rpm |
perl-Safe-Isa-1.000010-lp152.3.2.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | OpenSuSE Leap 15.2 for noarch | perl-Safe-Isa-1.000010-lp152.3.2.noarch.rpm |
perl-Safe-Isa-1.000005-2.el7.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | EPEL 7 for ppc64le | perl-Safe-Isa-1.000005-2.el7.noarch.rpm |
perl-Safe-Isa-1.000005-2.el7.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | EPEL 7 for aarch64 | perl-Safe-Isa-1.000005-2.el7.noarch.rpm |
perl-Safe-Isa-1.000005-2.el7.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | EPEL 7 for ppc64 | perl-Safe-Isa-1.000005-2.el7.noarch.rpm |
perl-Safe-Isa-1.000005-2.el7.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | EPEL 7 for x86_64 | perl-Safe-Isa-1.000005-2.el7.noarch.rpm |
perl-Safe-Isa-1.0.10-4.mga9.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Mageia Cauldron for armv7hl | perl-Safe-Isa-1.0.10-4.mga9.noarch.rpm |
perl-Safe-Isa-1.0.10-4.mga9.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Mageia Cauldron for x86_64 | perl-Safe-Isa-1.0.10-4.mga9.noarch.rpm |
perl-Safe-Isa-1.0.10-4.mga9.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Mageia Cauldron for aarch64 | perl-Safe-Isa-1.0.10-4.mga9.noarch.rpm |
perl-Safe-Isa-1.0.10-4.mga9.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Mageia 9 for i586 | perl-Safe-Isa-1.0.10-4.mga9.noarch.rpm |
perl-Safe-Isa-1.0.10-4.mga9.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Mageia 9 for armv7hl | perl-Safe-Isa-1.0.10-4.mga9.noarch.rpm |
perl-Safe-Isa-1.0.10-4.mga9.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Mageia 9 for x86_64 | perl-Safe-Isa-1.0.10-4.mga9.noarch.rpm |
perl-Safe-Isa-1.0.10-4.mga9.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Mageia 9 for aarch64 | perl-Safe-Isa-1.0.10-4.mga9.noarch.rpm |
perl-Safe-Isa-1.0.10-4.mga9.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Mageia Cauldron for i686 | perl-Safe-Isa-1.0.10-4.mga9.noarch.rpm |
perl-Safe-Isa-1.0.10-3.mga8.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Mageia 8 for aarch64 | perl-Safe-Isa-1.0.10-3.mga8.noarch.rpm |
perl-Safe-Isa-1.0.10-3.mga8.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Mageia 8 for x86_64 | perl-Safe-Isa-1.0.10-3.mga8.noarch.rpm |
perl-Safe-Isa-1.0.10-3.mga8.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Mageia 8 for armv7hl | perl-Safe-Isa-1.0.10-3.mga8.noarch.rpm |
perl-Safe-Isa-1.0.10-3.mga8.noarch.html | Call isa, can, does and DOES safely on things that may not be objects | Mageia 8 for i586 | perl-Safe-Isa-1.0.10-3.mga8.noarch.rpm |
Generated by rpm2html 1.6