Install libdate-leapyear-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libdate-leapyear-perl
Description:
Perl module to determine whether or not a year is a leapyear
Date::Leapyear is a simple, non-OO module to determine whether or not a year is a leap year. It exports one function, isleap, which returns 1 or 0, which determines whether a year is leap or not
Homepage: https://metacpan.org/release/Date-Leapyear
Version: 1.72-2
Section: universe/perl