Packages / openSUSE Leap 15.6 / Development/Libraries/Perl / perl-UNIVERSAL-can

Package: perl-UNIVERSAL-can (1.20140328-bp156.3.1)

work around buggy code calling UNIVERSAL::can() as a function

The UNIVERSAL class provides a few default methods so that all objects can use them. Object orientation allows programmers to override these methods in subclasses to provide more specific and appropriate behavior. Some authors call methods in the UNIVERSAL class on potential invocants as functions, bypassing any possible overriding. This is wrong and you should not do it. Unfortunately, not everyone heeds this warning and their bad code can break your good code. This module replaces 'UNIVERSAL::can()' with a method that checks to see if the first argument is a valid invocant has its own 'can()' method. If so, it gives a warning and calls the overridden method, working around buggy code. Otherwise, everything works as you might expect. Some people argue that you must call 'UNIVERSAL::can()' as a function because you don't know if your proposed invocant is a valid invocant. That's silly. Use 'blessed()' from the Scalar::Util manpage if you want to check that the potential invocant is an object or call the method anyway in an 'eval' block and check for failure (though check the exception _returned_, as a poorly-written 'can()' method could break Liskov and throw an exception other than "You can't call a method on this type of invocant"). Just don't break working code.

Package information

Homepage
[http://search.cpan.org/dist/UNIVERSAL-can/]
License
Artistic-1.0 or GPL-1.0+
Downstream package maintainer
Unknown: not reported in the indexed source
Source package
[perl-UNIVERSAL-can]
Software project
[perl-UNIVERSAL-can]

Versions and downloads for perl-UNIVERSAL-can

Version / releaseArchitecture / repositoryPackage sizeInstalled sizeFilesPublisher repository artifact
1.20140328-bp156.3.1leap-15.6 / ossnoarchopenSUSE Leap 15.6 · OSS · multi-architecture22 KiB28 KiBlist of filesperl-UNIVERSAL-can-1.20140328-bp156.3.1.noarch.rpm
About these downloads

Each row is recorded package-index metadata for one version, architecture, suite, and repository. Names, URLs, and sizes are source-reported; a link is a potentially mutable retrieval location, not an OpenFactory redistribution claim or proof that OpenFactory retained the artifact bytes.

Dependencies and recommendations for perl-UNIVERSAL-can

  • dep: perl(:MODULE_COMPAT_5.26.1)

    Package not available

Package file paths (8)

Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.

  • /usr/lib/perl5/vendor_perl/5.26.1/UNIVERSAL
  • /usr/lib/perl5/vendor_perl/5.26.1/UNIVERSAL/can.pm
  • /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
  • /usr/share/doc/packages/perl-UNIVERSAL-can
  • /usr/share/doc/packages/perl-UNIVERSAL-can/Changes
  • /usr/share/doc/packages/perl-UNIVERSAL-can/LICENSE
  • /usr/share/doc/packages/perl-UNIVERSAL-can/README
  • /usr/share/man/man3/UNIVERSAL::can.3pm.gz

Field source: openSUSE Leap 15.6 OSS

Known vulnerabilities

No matching advisories in the tracked sources.

Last synced:

[CVE catalog]

Checksums

Repository signatures authenticate metadata. Artifact hashing is recorded separately. Neither establishes package safety.

1.20140328-bp156.3.1 / noarchObserved Sep 1, 2026sha512 1da0eb9cdba3…8de234d6Source-reported digest

Metadata observed; artifact bytes were not independently fetched or hashed by this catalog import. The digest below is source-reported.

Source-reported digest (sha512): 1da0eb9cdba37dfcfac139c22130765056876059c7dcb61c20111f2aa7e88eaede216863800b56638c4efb6739d30be8d48a894549d7935de69cf22f8de234d6

Field source: openSUSE Leap 15.6 OSS

Sources

  • Authoritative source; repository metadata signature verified

    Signature evidence

    leap-15-6-oss-multiarch:ca2653101b9afba6656aea529109ba0c0f1ca1a92aa8614e7c887fda5264c230

    Repository-signature verification record
    Signed-object SHA-256
    ca2653101b9afba6656aea529109ba0c0f1ca1a92aa8614e7c887fda5264c230
    Signer fingerprint
    AD485664E901B867051AB15F35A2F86E29B700A4
    Keyring revision
    opensuse-project-signing-key.asc
    SHA-256 b5745739ebfb95b25b8e810f9bcb847fe750ccda598bd85f02f0e974599a6d7e
    Tool and policy
    gpgv (GnuPG) 2.4.9
    openfactory-software-catalog-signature-v1
    Verification time
    Sep 1, 2026
    Repository metadata hash linkage
    Result
    Recorded as verified; digest details unavailable

Use this package

OpenFactory can boot this operating system in a browser VM, or start a build that includes the native package name from this record.