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',

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.648 second using v1.00-cache-2.02-grep-82fe00e-cpan-2c419f77a38b )