chandantul has asked for the wisdom of the Perl Monks concerning the following question:

Hello All, I would like to check the IP range link the following update in a file and update corrosponding possible IP list in anohter file. How i can achive the same? Can i have a sample code snippet on the same?</p?

Reading the file

my $workbook = $parser->parse('C:/PERL/Work1.xlsx');

checking the IP range

10.10.22.0/24

Update all the IPs in a list in CoulmnA 10.10.22.1 to 10.10.22.255

my $workbook1  = Excel::Writer::XLSX->new( 'C:/PERL/IPlist.xlsx' );

Replies are listed 'Best First'.
Re: Need to update the IP list by checking the IP range.
by choroba (Cardinal) on Mar 25, 2021 at 17:31 UTC

      Thanks Sir. Its resolve my issue by the following module

      use Net::CIDR::Set;