libuniversal-can-perl - safer version of UNIVERSAL::can

Property Value
Distribution Debian 8 (Jessie)
Repository Debian Main i386
Package filename libuniversal-can-perl_1.20140328-1_all.deb
Package name libuniversal-can-perl
Package version 1.20140328
Package release 1
Package architecture all
Package type deb
Category devel::lang:perl implemented-in::perl perl
License -
Maintainer Debian Perl Group <>
Download size 13.07 KB
Installed size 61.00 KB
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 one should
not do it. Unfortunately, not everyone heeds this warning and their bad code
can break good code.
This module 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.


Package Version Architecture Repository
libuniversal-can-perl_1.20140328-1_all.deb 1.20140328 all Debian Main
libuniversal-can-perl - - -


Name Value
perl -


Type URL
Binary Package libuniversal-can-perl_1.20140328-1_all.deb
Source Package libuniversal-can-perl

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install libuniversal-can-perl deb package:
    # sudo apt-get install libuniversal-can-perl




2014-05-10 - gregor herrmann <>
libuniversal-can-perl (1.20140328-1) unstable; urgency=medium
* Team upload.
* New upstream release.
* Strip trailing slash from metacpan URLs.
2014-01-26 - gregor herrmann <>
libuniversal-can-perl (1.20140124-1) unstable; urgency=medium
* Team upload.
* New upstream release.
* Drop pod-encoding.patch, merged upstream.
* Update years of upstream copyright.
* Declare compliance with Debian Policy 3.9.5.
2013-06-08 - gregor herrmann <>
libuniversal-can-perl (1.20120726-1) unstable; urgency=low
* Team upload.
[ Alessandro Ghedini ]
* New upstream release
[ Ansgar Burchardt ]
* debian/control: Convert Vcs-* fields to Git.
[ Alessandro Ghedini ]
* Email change: Alessandro Ghedini ->
[ Nathan Handler ]
* Email change: Nathan Handler ->
[ Salvatore Bonaccorso ]
* Change based URIs to based URIs
[ gregor herrmann ]
* New upstream release.
Fixes "FTBFS with perl 5.18: test failures"
(Closes: #711622)
* debian/copyright: switch formatting to Copyright-Format 1.0.
* Update upstream licensing terms.
* Set Standards-Version to 3.9.4 (no further changes).
* Add a patch to fix POD encoding.
2011-06-13 - Alessandro Ghedini <>
libuniversal-can-perl (1.20110613-1) unstable; urgency=low
* New upstream release
* Switch to 3.0 (quilt) format
* Bump debhelper compat level to 8
* Remove Build-Depends on libmodule-build-perl (is in Perl core)
* Add myself to Uploaders
* Bump Standards-Version to 3.9.2 (no changes needed)
* Update upstream copyright years
2010-01-14 - Jonathan Yu <>
libuniversal-can-perl (1.16-1) unstable; urgency=low
[ Jonathan Yu ]
* New upstream release
* Update copyright to new DEP5 format
* Add myself to Uploaders and Copyright
* Refresh copyright years per upstream
* Standards-Version 3.8.3 (drop perl version dep)
* Module::Build is core as of Perl 5.10
[ Ryan Niebur ]
* Update ryan52's email address
2009-06-22 - Ryan Niebur <>
libuniversal-can-perl (1.15-1) unstable; urgency=low
[ gregor herrmann ]
* debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
field (source stanza); Homepage field (source stanza). Removed: XS-
Vcs-Svn fields.
[ gregor herrmann ]
* debian/watch: use dist-based URL.
* Slightly improve short description.
* debian/copyright: use version-independet upstream source URL and wrap a
long line.
* debian/control: Changed: Switched Vcs-Browser field to ViewSVN
(source stanza).
[ Nathan Handler ]
* New upstream release
* debian/watch: remove comment
* Add myself to list of Uploaders
* Bump Standards-Version to 3.8.1
* Bump debhelper Build-Depends to >= 7
* debian/compat: bump to 7
* debian/copyright: update to use new machine readable format
[ Ryan Niebur ]
* New upstream release
* Add myself to Uploaders
* Debian Policy 3.8.2
* update d/copyright (now Artistic-2.0)
[ Damyan Ivanov ]
* [debian/watch] Stop capturing file extension
+ do not match development releases
* use tiny DH7 debian/rules
+ redundant README no longer shipped
2006-05-06 - Krzysztof Krzyzaniak (eloy) <>
libuniversal-can-perl (1.12-1) unstable; urgency=low
* Initial Release (closes: #366246).

See Also

Package Description
libuniversal-exports-perl_0.05-2_all.deb module for lightweight, universal variable exporting
libuniversal-isa-perl_1.20140927-1_all.deb safer version of UNIVERSAL::isa
libuniversal-moniker-perl_0.08-7_all.deb Methods to output nicer names for your Perl modules/classes
libuniversal-require-perl_0.17-1_all.deb Load modules from a variable
libunix-configfile-perl_0.6-1_all.deb Perl interface to various Unix configuration files
libunix-mknod-perl_0.04-1+b3_i386.deb Perl extension for mknod, major, minor, and makedev
libunix-syslog-perl_1.1-2+b4_i386.deb Perl interface to the UNIX syslog(3) calls
libunixsocket-java_0.7.3-1_i386.deb Unix socket API and bindings for Java
libunshield-dev_1.0-1_i386.deb development files for libunshield
libunshield0_1.0-1_i386.deb library to extract CAB files from InstallShield installers
libunwind-dev_1.1-3.2_i386.deb library to determine the call-chain of a program - development
libunwind-setjmp0-dev_1.1-3.2_i386.deb libunwind-based non local goto - development
libunwind-setjmp0_1.1-3.2_i386.deb libunwind-based non local goto - runtime
libunwind8-dev_1.1-3.2_i386.deb library to determine the call-chain of a program - development
libunwind8_1.1-3.2_i386.deb library to determine the call-chain of a program - runtime