How to Install and Uninstall libtask-weaken-perl Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 05,2024

1. Install "libtask-weaken-perl" package

Please follow the guidelines below to install libtask-weaken-perl on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libtask-weaken-perl

2. Uninstall "libtask-weaken-perl" package

Please follow the steps below to uninstall libtask-weaken-perl on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libtask-weaken-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libtask-weaken-perl package on Ubuntu 21.10 (Impish Indri)

Package: libtask-weaken-perl
Architecture: all
Version: 1.06-1
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 24
Depends: perl
Filename: pool/universe/libt/libtask-weaken-perl/libtask-weaken-perl_1.06-1_all.deb
Size: 8700
MD5sum: 3d2bb4dd16b76afe90235f1ab1770633
SHA1: c42dc38113eb52addcb0d5a1b4225ad340463f00
SHA256: 9852fd835f9ea8562a41cf7e5365e9419b93eaecc6f03e04e971418acbe3b7f5
SHA512: 6b9c7a27a15f9aed56f61647b0f858806e8694e679cf39594e342abe8c15d038083e7ef2a823c11d7fb263b2555014481401ce765f2afafb6f7a38709c2a3c53
Homepage: https://metacpan.org/release/Task-Weaken
Description-en: module for ensuring 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 necessarily 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.
.
Task::Weaken 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.
Description-md5: a40f3ac784f0225651b7a0e76df7f034