Name: WebService-HazIP
Owner: Perl 6
Description: null
Created: 2015-11-12 01:52:07.0
Updated: 2016-08-16 00:10:01.0
Pushed: 2015-11-01 20:19:05.0
Homepage: null
Size: 144
Language: Perl6
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Simple Internet web service used to obtain the
host's current public addressable IP address.
Connects to the canihazip.com web site using LWP::Simple
and returns the data. Valadates the returned data to
ensure there is a valid IPv4 address.
use WebService::HazIP;
my $ipObj = WebService::HazIP.new;
say "My public IP address is: " ~ $ipObj.returnIP();