The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

OpenDNS::MyIP - Get your public IP address

VERSION

version 1.152330

SYNOPSIS

        use OpenDNS::MyIP qw(get_ip);
        
        my $ip = get_ip(); # 12.34.56.78

METHODS

get_ip()

Return public IP address

SEE ALSO

https://metacpan.org/pod/WWW::IP

https://metacpan.org/pod/WWW::curlmyip

https://metacpan.org/pod/WWW::ipinfo

https://metacpan.org/pod/WWW::hmaip

https://metacpan.org/pod/WWW::PerlTricksIP

AUTHOR

Petr Kletecka <pek@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Petr Kletecka.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.