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

WWW::Amazon::checkip - Returns your ip address using http://checkip.amazonaws.com/

VERSION

version 0.01

SYNOPSIS

    use WWW::Amazon::checkip;
    my $ip = get_ip();

or from the command line

    perl -MWWW::Amazon::checkip -E 'say get_ip'

EXPORTS

Exports the get_ip function.

FUNCTIONS

get_ip

Returns your external ipv4 address.

SEE ALSO

WWW::canihazip - a similar module that returs your up address

WWW::ipinfo - a similar module that returns your ip address and more

WWW::hmaip - a similar module that returns your ip address

WWW::IP - a wrapper module that uses up to 3 services to retrieve your IP address

AUTHOR

Jose Luis Martinez Torres <jlmartinez@capside.com>

Based on the work by David Farrell for WWW::canihazip

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by CAPSiDE

This code is distributed under the Apache 2 License. The full text of the license can be found in the LICENSE file included with this module.