Perl module to get your IP Address
Wait. Isn’t it 2017?
Jul 27, 2017 · 1 min read
So I wrote a Perl 5 module to find your IP address (and other provided info) from Mark Polden’s https://ifconfig.co server.
You can get it from the following places:
- http://search.cpan.org/~nicdoye/WebService-IFConfig-Client-1.000/
- https://github.com/nicdoye/perl5-webservice-ifconfig-client
cpanm WebService::IFConfig::Client- etc.
Important note from the README:
Unless you are hosting your own copy of the service, the canonical instance at https://ifconfig.co requests you limit your requests to 1 per minute. Don’t abuse his service, host your own if you need more frequent lookups.
