[ddp] libtask-weaken-perl : Ensure that a platform has weaken support

daily-debian-package at enix.org daily-debian-package at enix.org
Wed May 21 12:00:11 CEST 2008


Hello,

Today, I'm happy to present you the Debian package libtask-weaken-perl,
which is part of the perl section, and maintained by Christian Sánchez
<csanchez at unplug.org.ve>. 

This package contains : Ensure that a platform has weaken support.

One recurring problem in modules that use Scalar::Util's weaken
function is that it is not present in the pure-perl variant.

While this isn't necesarily always a problem in a straight CPAN-based
Perl environment, some operating system distributions only include the
pure-Perl versions, don't include the XS version, and so weaken is
then "missing" from the platform, despite passing a dependency on
Scalar::Util successfully.

The normal solution is to manually write tests in each distribution
to ensure that weaken is available.

This restores the functionality testing to a dependency you do once in your
Makefile.PL, rather than something you have to write extra tests for each
time you write a module.

It should also help make the package auto-generators for the various
operating systems play more nicely, because it introduces a dependency
that they have to have a proper weaken in order to work.


Package homepage     :
 http://packages.debian.org/unstable/perl/libtask-weaken-perl

Package bug homepage :
 http://bugs.debian.org/libtask-weaken-perl

Package QA homepage  :
 http://packages.qa.debian.org/libtask-weaken-perl

Have fun with Debian packages !

-- 
Daily Debian package, by Thomas Petazzoni, thanks to Jérome Petazzoni
Daily-debian-package at the-doors.enix.org
http://the-doors.enix.org/cgi-bin/mailman/listinfo/daily-debian-package
http://thomas.enix.org/DebianPackageDay


More information about the Daily-debian-package mailing list