The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Ipv4_networks - ipv4 networks calculator

SYNOPSIS

use strict;

use warnings;

use Ipv4_networks;

my$obj = Ipv4_networks->new();

$obj->class_a("X"); #print directly, too big.

my@bit_16 = $obj->class_b("X.X");

my@bit_24 = $obj->class_c("X.X.X");

#################################################

print $_."\n" foreach @bit_16;

print $_."\n" foreach @bit_24;

DESCRIPTION

ipv4 networks calculator

EXPORT

None by default.

SEE ALSO

AUTHOR

Cladi, <cladi@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2014 by Cladi Di Domenico

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