Addr-MyIP
view release on metacpan or search on metacpan
lib/Addr/MyIP.pm view on Meta::CPAN
package Addr::MyIP;
use strict;
use warnings;
use Data::Dumper;
use Exporter qw(import);
use HTTP::Tiny;
our $VERSION = '0.05';
our @EXPORT = qw(myip myip6);
use constant {
IPV4_URL => 'https://api.ipify.org',
IPV6_URL => 'https://api64.ipify.org',
( run in 0.509 second using v1.01-cache-2.11-cpan-a5abf4f5562 )