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

Property Value
Distribution Mageia 5.1
Repository Mageia Core i586
Package name perl-Devel-TraceUse
Package version 2.93.0
Package release 3.mga5
Package architecture noarch
Package type rpm
Installed size 23.06 KB
Download size 20.93 KB
Official Mirror
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 upstream_name 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.


Package Version Architecture Repository
perl-Devel-TraceUse-2.93.0-3.mga5.noarch.rpm 2.93.0 noarch Mageia Core
perl-Devel-TraceUse - - -


Name Value
perl-base >= 2:5.20.1


Name Value
perl(Devel::TraceUse) == 2.93.0
perl-Devel-TraceUse == 2.93.0-3.mga5


Type URL
Binary Package perl-Devel-TraceUse-2.93.0-3.mga5.noarch.rpm
Source Package perl-Devel-TraceUse-2.93.0-3.mga5.src.rpm

Install Howto

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




2014-10-15 - umeabot <umeabot> 2.93.0-3.mga5
+ Revision: 739938
- Second Mageia 5 Mass Rebuild
2014-09-16 - umeabot <umeabot> 2.93.0-2.mga5
+ Revision: 684340
- Mageia 5 Mass Rebuild
2014-06-27 - sander85 <sander85> 2.93.0-1.mga5
+ Revision: 640334
- update to 2.093
2014-05-17 - sander85 <sander85> 2.92.0-1.mga5
+ Revision: 623239
- Fix BR
+ jquelin <jquelin>
- update to 2.092
2013-10-19 - umeabot <umeabot> 2.90.0-2.mga4
+ Revision: 526883
- Mageia 4 Mass Rebuild
2013-06-07 - jquelin <jquelin> 2.90.0-1.mga4
+ Revision: 439039
- update to 2.09
2013-01-13 - umeabot <umeabot> 2.80.0-2.mga3
+ Revision: 365834
- Mass Rebuild -
2012-09-17 - jquelin <jquelin> 2.80.0-1.mga3
+ Revision: 294956
- update to 2.08
2012-01-25 - jquelin <jquelin> 2.60.0-1.mga2
+ Revision: 200851
- update to 2.06

See Also

Package Description
perl-Devel-TraceVars-0.30.0-5.mga5.noarch.rpm Print each line of code with variables evaluated
perl-Devel-Trepan-0.580.0-5.mga5.noarch.rpm A gdb-like debugger port of Ruby Trepan
perl-Devel-Trepan-Disassemble-1.990.0-1.mga5.noarch.rpm No summary found
perl-Devel-Trepan-Shell-1.500.0-6.mga5.noarch.rpm An interactive shell command plugin for Devel::Trepan
perl-Devel-ebug-0.560.0-3.mga5.noarch.rpm A simple, extensible Perl debugger
perl-Devel-hdb-0.200.10-3.mga5.noarch.rpm Perl debugger as a web page and REST service
perl-Devel-ptkdb-1.1091-6.mga5.noarch.rpm Perl debugger using a Tk GUI
perl-Device-Cdio-0.3.0-10.mga5.i586.rpm Module for CD Input and Control library
perl-Device-Gsm-1.600.0-6.mga5.noarch.rpm Interface gsm handphones and modems
perl-Device-MAC-1.0.0-6.mga5.noarch.rpm Handle hardware MAC Addresses (EUI-48 and EUI-64)
perl-Device-Modem-1.570.0-4.mga5.noarch.rpm Interface modems and other AT based devices
perl-Device-OUI-1.40.0-5.mga5.noarch.rpm Resolve an Organizationally Unique Identifier
perl-Device-SerialPort-1.40.0-11.mga5.i586.rpm POSIX clone of Win32::SerialPort
perl-Dict-FSA-0.1.2-10.mga5.noarch.rpm FSA wrapper
perl-Dict-Lexed-0.2.2-10.mga5.noarch.rpm Lexed wrapper