SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-UNIVERSAL-can rpm build for : openSUSE Leap 15. For other distributions click perl-UNIVERSAL-can.

Name : perl-UNIVERSAL-can
Version : 1.20140328 Vendor : obs://build_opensuse_org/home:NoseyNick
Release : lp150.9.1 Date : 2018-11-13 04:44:35
Group : Development/Libraries/Perl Source RPM : perl-UNIVERSAL-can-1.20140328-lp150.9.1.src.rpm
Size : 0.03 MB
Packager : (none)
Summary : work around buggy code calling UNIVERSAL::can() as a function
Description :
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.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/home:/NoseyNick/openSUSE_Leap_15.0_Ports/noarch

Content of RPM  Changelog  Provides Requires

Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server

Provides :
perl(UNIVERSAL::can)
perl-UNIVERSAL-can

Requires :
perl(:MODULE_COMPAT_5.26.1)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/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/aarch64-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

 
ICM