How to Install and Uninstall libcache-simple-timedexpiry-perl Package on Ubuntu 21.10 (Impish Indri)

Last updated: December 23,2024

1. Install "libcache-simple-timedexpiry-perl" package

Please follow the guidelines below to install libcache-simple-timedexpiry-perl on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libcache-simple-timedexpiry-perl

2. Uninstall "libcache-simple-timedexpiry-perl" package

This tutorial shows how to uninstall libcache-simple-timedexpiry-perl on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libcache-simple-timedexpiry-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libcache-simple-timedexpiry-perl package on Ubuntu 21.10 (Impish Indri)

Package: libcache-simple-timedexpiry-perl
Architecture: all
Version: 0.27-3
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 20
Depends: perl
Filename: pool/universe/libc/libcache-simple-timedexpiry-perl/libcache-simple-timedexpiry-perl_0.27-3_all.deb
Size: 5968
MD5sum: c02130ca77a2c4a777b596f689c4c6cb
SHA1: dbc0fcfac1a0cf9b573d765c779e383c1e182562
SHA256: f48bbecff8c4e598797ba343068a824a40a182687219f758ea229d4b35d8229c
SHA512: fbe87147fbafdf96d15a81e66ac97587dcf08099f3ee62c6a510fbe822f084de91cd6ac1a7f99409b1764d9ea3456b1177820c8bb336d6315a7a07c220700900
Homepage: https://metacpan.org/release/Cache-Simple-TimedExpiry
Description-en: Perl module to cache and expire key/value pairs
Example:
.
my $h = new Cache::Simple::TimedExpiry;
.
$h->set(Forever => "Don't expire", 0);
do {$h->set($_,"Value of $_", 1); sleep 2;} for qw(Have a nice day); $,=' ';
print $h->elements; $h->dump; sleep 4; print $h->elements; $h->dump;
Description-md5: 46ed4ee94fbbfd5e356813cc5635ed50