NAME
Net::IP::Extract - Perl module to extract Ip Address from a document
SYNOPSIS
use Parse::IpAddress;
my $file = $ARGV[0];
my @file;
open(FILE, "<$file") || die " Cannot open file $file : $!\n";
chomp (@file = <FILE>);
close(FILE);
my @ip = Parse::IpAddress::parseip(@file);
foreach (@ip){
print "$_\n";
}
DESCRIPTION
This module permit to extract Ip Address from a document, text, html pages etc..
METHODS
extract
Returns an array with extracted Ip Address:
my @ip = Parse::IpAddress::parseip(@file);
SEE ALSO
perlre
AUTHOR
Matteo Cantoni, <mcantoni@cpan.org>
COPYRIGHT AND LICENSE
You may distribute this module under the terms of the Artistic license. See Copying file in the source distribution archive.
Copyright (c) 2006, Matteo Cantoni