No description, website, or topics provided.
Perl 6
Switch branches/tags
Nothing to show
Latest commit d5867c5 May 13, 2017 Michael changed the license to Artistic-2.0
Failed to load latest commit information.
lib/WebService Initial commit Oct 31, 2015
logotype change size of icon Nov 27, 2015
t Add test file Nov 27, 2015
.DS_Store fix spelling mistakes May 13, 2017
.travis.yml don't look at this.. May 10, 2017
LICENCE Create LICENCE Nov 1, 2015
META6.json changed the license to Artistic-2.0 May 13, 2017
_config.yml Set theme jekyll-theme-slate May 13, 2017

perl6-WebService-HazIP Build Status


Simple Internet web service used to obtain the host's current public addressable IP address. Connects to the web site using LWP::Simple and returns the data. Validates the returned data to ensure there is a valid IPv4 address.



  • returnIP()


  • Valid IPv4 address if successful.
  • "ERROR! - No Internet connection." on a invalid response.


use WebService::HazIP;
my $ipObj =;
say "My public IP address is: " ~ $ipObj.returnIP();