Minimal functions from Net::IP WWW: https://metacpan.org/release/Net-IP-Minimal