David Farrell

NAME

WWW::IP - Returns your ip address with failsafe mechanism

VERSION

version 0.04

SYNOPSIS

    use WWW::IP;

    my $ip = get_ip(); # 54.123.84.6

EXPORTS

Exports the get_ip function.

FUNCTIONS

get_ip

Returns your ip address. Will try a number of services in succession should the initial request fail

SEE ALSO

These modules are used by WWW::IP:

  • WWW::canihazip - a module that returns your ip address

  • WWW::ipinfo - a module that returns ip address and geolocation data

  • WWW::hmaip - another module that returns your ip address

AUTHOR

David Farrell <dfarrell@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by David Farrell.

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