NAME
Net::IP::Flakweb - A simple interface for ip.flakweb.net to determine your public IP address.
VERSION
Version 0.01
SYNOPSIS
Quick summary of what the module does.
Perhaps a little code snippet.
use Net::IP::Flakweb;
my $ip = Net::IP::Flakweb->new();
my $address = $ip->fetch();
my $yaml = $ip->fetch('yaml');
my $json = $ip->fetch('json');
my $xml = $ip->fetch('xml');
# Fetch results for all the available formats.
my @formats = $ip->formats();
my $content = {};
foreach (@formats) {
$content->{$_} = $ip->fetch("$_");
}
SUBROUTINES/METHODS
new
formats()
Return an array of all the available formats.
fetch($format)
Returns the IP in the format specified by the format parameter.
AUTHOR
Mark Caudill, <mcaudill at cpan.org>
BUGS
Please report any bugs or feature requests at https://bitbucket.org/flakblas/net-ip-flakweb/issues.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Net::IP::Flakweb
You can also look for information at:
LICENSE AND COPYRIGHT
Copyright 2011 Mark Caudill.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.