How to Install libcache-simple-timedexpiry-perl in Ubuntu 18.04



Install libcache-simple-timedexpiry-perl by entering the following commands in the terminal:

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

Description:

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;

Homepage: https://metacpan.org/release/Cache-Simple-TimedExpiry

Version: 0.27-3

Section: universe/perl