Install libdata-validate-ip-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libdata-validate-ip-perl
Description:
Perl module for IP validation
Data::Validate::IP collects IP validation routines to make input validation and untainting easier and more readable. All functions return an untainted value if the test passes, and undef if it fails. This means that you should always check for a defined status explicitly. Don't assume the return value will be true.
Homepage: https://metacpan.org/release/Data-Validate-IP
Version: 0.27-1
Section: universe/perl