I need help in scripting out a multiple ip address and port checking in perl. The script will read from a text file with the ip address and port associated with it. If an ip address and port doesn't work it will create a separate logfile and after all the ip address and port has been checked from the text file, this error logfile with the ip address and port that didn't work will be emailed to me. Any assistance will be great. Thanks
perl progname.pl address_file