Created
July 27, 2017 10:06
-
-
Save nicdoye/d90a8fe2e009fe5041739bf7e3243ed8 to your computer and use it in GitHub Desktop.
Finding your IP in Perl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use feature qw/say/; | |
use WebService::IFConfig::Client; | |
my $client = WebService::IFConfig::Client->new(); | |
say $client->get_ip;' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment