perl-Devel-TraceUse-2.50.0-5-omv2015.0.noarch.rpm


Advertisement

Description

perl-Devel-TraceUse - Hack around calling UNIVERSAL::can() as a function

Property Value
Distribution OpenMandriva Cooker
Repository OpenMandriva Contrib Release x86_64
Package name perl-Devel-TraceUse
Package version 2.50.0
Package release 5-omv2015.0
Package architecture noarch
Package type rpm
Installed size 15.33 KB
Download size 12.95 KB
Official Mirror abf-downloads.openmandriva.org
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.
Fortunately, this upstream_name replaces UNIVERSAL::can() with a method that
checks to
see if the first argument is a valid invocant (whether an object -- a blessed
referent -- or the name of a class). If so, and if the invocant's class has its
own can() method, it calls that as a method. Otherwise, everything works as you
might expect.
If someone attempts to call UNIVERSAL::can() as a function, this module will
emit a lexical warning (see perllexwarn) to that effect. You can disable it
with no warnings; or no warnings 'UNIVERSAL::isa';, but don't do that; fix the
code instead.

Alternatives

Package Version Architecture Repository
perl-Devel-TraceUse-2.50.0-5-omv2015.0.noarch.rpm 2.50.0 noarch OpenMandriva Contrib Release
perl-Devel-TraceUse - - -

Requires

Name Value
perl(abi) >= 5.20.1

Provides

Name Value
perl(Devel::TraceUse) = 2.50.0
perl-Devel-TraceUse = 2.50.0-5

Download

Type URL
Binary Package perl-Devel-TraceUse-2.50.0-5-omv2015.0.noarch.rpm
Source Package perl-Devel-TraceUse-2.50.0-5.src.rpm

Install Howto

  1. Enable OpenMandriva Contrib Release repository on Install and Remove Software
  2. Update packages list:
    # urpmi.update -a
  3. Install perl-Devel-TraceUse rpm package:
    # urpmi perl-Devel-TraceUse

Files

Path
/usr/lib/perl5/vendor_perl/5.20.1/Devel/TraceUse.pm
/usr/share/doc/perl-Devel-TraceUse/README
/usr/share/man/man3/Devel::TraceUse.3pm.xz

See Also

Package Description
perl-Devel-ptkdb-1.1091-6-omv2015.0.noarch.rpm Perl debugger using a Tk GUI
perl-Device-ELM327-0.80.0-1-omv2013.0.noarch.rpm Methods for reading OBD data with an ELM327 module
perl-Device-SerialPort-1.40.0-7-omv2015.0.x86_64.rpm POSIX clone of Win32::SerialPort
perl-Dict-FSA-0.1.2-9-omv2015.0.noarch.rpm FSA wrapper
perl-Dict-Lexed-0.2.2-9-omv2015.0.noarch.rpm Lexed wrapper
perl-Digest-CRC-0.180.0-3-omv2015.0.x86_64.rpm Generic CRC functions
perl-Digest-GOST-0.60.0-1-omv2015.0.x86_64.rpm Uses the CryptoPro parameters from RFC 4357
perl-Digest-JHash-0.80.0-3-omv2015.0.x86_64.rpm Perl extension for 32 bit Jenkins Hashing Algorithm
perl-Digest-MD4-1.900.0-3-omv2015.0.x86_64.rpm Perl interface to the MD4 Algorithm
perl-Digest-MD5-M4p-0.10.0-6-omv2015.0.x86_64.rpm Perl interface to a variant of the MD5 algorithm
perl-Digest-Perl-MD5-1.800.0-5-omv2015.0.noarch.rpm Perl implementation of Ron Rivests MD5 Algorithm
perl-Digest-SHA-PurePerl-5.920.0-3-omv2015.0.noarch.rpm Perl implementation of SHA-1/224/256/384/512
perl-Digest-Whirlpool-1.90.0-6-omv2015.0.x86_64.rpm Perl 512-bit one-way hash
perl-Dir-Self-0.110.0-3-omv2015.0.noarch.rpm A __DIR__ constant for the directory your source file is in
perl-Directory-Scratch-0.150.0-3-omv2015.0.noarch.rpm Perl Module to generate self-cleaning scratch space for tests
Advertisement
Advertisement