in reply to Re: RFC: CPAN module Net::IP::Correct
in thread RFC: CPAN module Net::IP::Correct
I guess I should be using the word block instead of range. 192.168.1.0 - 192.168.1.5 is fundamentally an incorrect IP block which if used in many utilities (iptables for example; on Linux), would raise an error (or not, depending on the utility). But the fact remains, that it is an incorrect IP block.
The aim of this module is to take an IP range, and split the range into correct IP blocks starting from the largest possible, to the smallest block possible.
So if we have a range like 192.168.1.0 - 192.168.2.130 for example, this module would split this range into the following valid IP blocks:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: RFC: CPAN module Net::IP::Correct
by OverlordQ (Hermit) on Jun 30, 2005 at 04:32 UTC | |
by arc_of_descent (Hermit) on Jun 30, 2005 at 09:45 UTC | |
by Smylers (Pilgrim) on Jun 30, 2005 at 10:54 UTC |