Each line of the file contains an ip address and I read them into an array. Then I tried to use nslookup as you monks showed me in the previous replies. (THANKS SO MUCH) But it doesn't seem to work. I'm very new at this but I must get this working for someone. Please HELP ME...#!/usr/bin/perl $INPUT_FILE = "ipnum"; open(INPUT_FILE); @array = <INPUT_FILE>; close(INPUT_FILE); for my $array (@arrays) { my $output = 'nslookup $array'; print ($output); }
In reply to HELP - nslookup in perl by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |