NAME

IPGen::V4 - Perl extension for -Fast- random IP address generating

SYNOPSIS

use IPGen::V4;
#Functional
print ipgen("4.2.2.4/25");	#cidr
print ipgen("4.2.2.4-5.5.5.5");	#from-to range
print ipgen("4-43.2.2-20.4-8");	#sub-range	
#OO
$ig = new IPGen::V4("4.2.2.4/25");
print $ig->ipgen()."\n" for 1..300;

DESCRIPTION

The main purpose of the IPGen::V4 module is providing fun and easy way to generate random v4 ip addresses by CIDR,Full range (from - to) and subrange.

EXPORT

ipgen($RANGE)

SEE ALSO

http://en.wikipedia.org/wiki/IPv4

AUTHOR

Sadegh Ahmadzadegan (sadegh@cpan.org)

COPYRIGHT AND LICENSE

Copyright (C) 2014 by Sadegh Ahmadzadegan

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available.