Perl Monk, Perl Meditation | |
PerlMonks |
Use of uninitialized value $i in bitwise and (&) at <Netmask.pm>by dotowwxo (Acolyte) |
on Dec 18, 2017 at 08:45 UTC ( [id://1205779]=perlquestion: print w/replies, xml ) | Need Help?? |
dotowwxo has asked for the wisdom of the Perl Monks concerning the following question:
Hello everyone, I am very new to Perl. Any help would be greatly appreciated because I am stucked here for quite a long time :(
Basically what I am trying to do is: 1. I have a list of IP address in testingIP.txt 2. I want to loop through the text file and find out which IP address is in the net mask that I have specified using a PERL module that I have installed -- Net::Netmask http://search.cpan.org/~muir/Net-Netmask-1.9015/Netmask.pod Unfortunately, it only works when there is only 1 IP address in testingIP.txt, this is my output for my current code:
This is my code
Back to
Seekers of Perl Wisdom
|
|