libuniversal-can-perl 1.20140124-1 source package in Ubuntu
Changelog
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. -- gregor herrmann <email address hidden> Sun, 26 Jan 2014 16:07:23 +0100
Upload details
- Uploaded by:
- Debian Perl Group
- Uploaded to:
- Sid
- Original maintainer:
- Debian Perl Group
- Architectures:
- all
- Section:
- perl
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Trusty | release | universe | perl |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libuniversal-can-perl_1.20140124-1.dsc | 2.3 KiB | 274410d259d31c768a6de0580ebecf49ac514d7aba02aba741690fe0b824bf26 |
libuniversal-can-perl_1.20140124.orig.tar.gz | 14.2 KiB | f91f08c7f1414058fc18f8a19367d54546f925e48f6e43028fe7db648cc116f4 |
libuniversal-can-perl_1.20140124-1.debian.tar.xz | 5.7 KiB | e1f175de8f5a6a6ceb2bb4bf56c6cfef87210bee2182d8a26eeafbe830c8e75a |
Available diffs
- diff from 1.20120726-1 to 1.20140124-1 (2.1 KiB)
No changes file available.
Binary packages built by this source
- libuniversal-can-perl: safer version of UNIVERSAL::can
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.