Ipv4_networks - ipv4 networks calculator
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;
ipv4 networks calculator
None by default.
Cladi, <cladi@cpan.org>
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.
To install Ipv4_networks, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Ipv4_networks
CPAN shell
perl -MCPAN -e shell install Ipv4_networks
For more information on module installation, please visit the detailed CPAN module installation guide.