Maybe this module here? http://search.cpan.org/~mrsam/Net-CIDR-0.11/CIDR.pm
On 5/28/14, 3:08 AM, Agnello George wrote:
Hi I have about 300 + ip regex in my apache file like this 11\.45\.3[2-9]\..*$ ^11\.45\.4[0-9]\..*$ ^11\.45\.5[0-9]\..*$ I have to convert like this into CIDR . ·11.45.32.0/21 <http://11.45.32.0/21> ·11.45.40.0/21 <http://11.45.40.0/21> ·11.45.48.0/23 <http://11.45.48.0/23> ·11.45.50.0/21 <http://11.45.50.0/21> 11.45.58.0/23 <http://11.45.58.0/23> is there a module that can help me convert ip regex to ip range . thanks Agnello