https://github.com/dnmfarrell/www-ip
https://github.com/dnmfarrell/www-ip
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dnmfarrell/www-ip
- Owner: dnmfarrell
- License: other
- Created: 2014-09-19T04:52:57.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-02-23T04:09:00.000Z (over 9 years ago)
- Last Synced: 2025-01-16T16:49:26.890Z (over 1 year ago)
- Language: Perl
- Size: 11.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.pod
- Changelog: Changes
- License: LICENSE
Awesome Lists containing this project
README
=pod
=encoding UTF-8
=head1 NAME
WWW::IP - Returns your ip address with failsafe mechanism
=head1 VERSION
version 0.04
=head1 SYNOPSIS
use WWW::IP;
my $ip = get_ip(); # 54.123.84.6
=head1 EXPORTS
Exports the C function.
=head1 FUNCTIONS
=head2 get_ip
Returns your ip address. Will try a number of services in succession should the
initial request fail
=head1 SEE ALSO
These modules are used by WWW::IP:
=over
=item *
L - a module that returns your ip address
=item *
L - a module that returns ip address and geolocation data
=item *
L - another module that returns your ip address
=back
=head1 AUTHOR
David Farrell
=head1 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.
=cut