--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: ITP: libuniversal-can-perl -- Safer version of UNIVERSAL::can
- From: "Krzysztof Krzyzaniak \(eloy\)" <eloy@debian.org>
- Date: Sat, 06 May 2006 15:07:47 +0200
- Message-id: <20060506130747.21896.7927.reportbug@localhost.localdomain>
Package: wnpp
Severity: wishlist
Owner: "Krzysztof Krzyzaniak (eloy)" <eloy@debian.org>
* Package name : libuniversal-can-perl
Version : 1.12
Upstream Author : chromatic <chromatic@wgz.org>
* URL : http://search.cpan.org/~chromatic/UNIVERSAL-can-1.12/
* License : Perl: Artstic/GPL
Programming Lang: Perl
Description : 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::can';, but don't do that; fix
the code instead.
NOTE: this module and libuniversal-isa-perl are needed to upload new version
of libtest-mockobject-perl
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
--- End Message ---
--- Begin Message ---
- To: 366246-close@bugs.debian.org
- Subject: Bug#366246: fixed in libuniversal-can-perl 1.12-1
- From: Krzysztof Krzyzaniak (eloy) <eloy@debian.org>
- Date: Sun, 04 Jun 2006 08:53:16 -0700
- Message-id: <E1Fmuui-0006J8-Sq@spohr.debian.org>
Source: libuniversal-can-perl
Source-Version: 1.12-1
We believe that the bug you reported is fixed in the latest version of
libuniversal-can-perl, which is due to be installed in the Debian FTP archive:
libuniversal-can-perl_1.12-1.diff.gz
to pool/main/libu/libuniversal-can-perl/libuniversal-can-perl_1.12-1.diff.gz
libuniversal-can-perl_1.12-1.dsc
to pool/main/libu/libuniversal-can-perl/libuniversal-can-perl_1.12-1.dsc
libuniversal-can-perl_1.12-1_all.deb
to pool/main/libu/libuniversal-can-perl/libuniversal-can-perl_1.12-1_all.deb
libuniversal-can-perl_1.12.orig.tar.gz
to pool/main/libu/libuniversal-can-perl/libuniversal-can-perl_1.12.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 366246@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Krzysztof Krzyzaniak (eloy) <eloy@debian.org> (supplier of updated libuniversal-can-perl package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sat, 6 May 2006 14:52:10 +0200
Source: libuniversal-can-perl
Binary: libuniversal-can-perl
Architecture: source all
Version: 1.12-1
Distribution: unstable
Urgency: low
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Changed-By: Krzysztof Krzyzaniak (eloy) <eloy@debian.org>
Description:
libuniversal-can-perl - Safer version of UNIVERSAL::can.
Closes: 366246
Changes:
libuniversal-can-perl (1.12-1) unstable; urgency=low
.
* Initial Release (closes: #366246).
Files:
fb3dd0e6cdacc84cd8625f260dc3de6d 761 perl optional libuniversal-can-perl_1.12-1.dsc
4386c4f7479447fc5b51e8c3770cd2f4 8230 perl optional libuniversal-can-perl_1.12.orig.tar.gz
2180c417b6b44c261090c032c0758788 2241 perl optional libuniversal-can-perl_1.12-1.diff.gz
6da6ef07f08d4eee3d72cd6bb04a8060 9296 perl optional libuniversal-can-perl_1.12-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFEXv80+NMfSd6w7DERAkN7AKCbxSfUloWX3SwQth9U4GDNY1LCeQCffLRK
zBv2FEKNYtLWETQnuqncvoM=
=+ToO
-----END PGP SIGNATURE-----
--- End Message ---