Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
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); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: HELP - nslookup in perl
by btrott (Parson) on Mar 24, 2000 at 02:51 UTC | |
|
Re: HELP - nslookup in perl
by chromatic (Archbishop) on Mar 23, 2000 at 21:10 UTC | |
by setantae (Scribe) on Mar 25, 2000 at 02:42 UTC | |
by btrott (Parson) on Mar 23, 2000 at 22:03 UTC | |
|
Re: HELP - nslookup in perl
by Anonymous Monk on Mar 24, 2000 at 00:40 UTC | |
|
Re: HELP - nslookup in perl
by ender (Novice) on Mar 23, 2000 at 23:51 UTC | |
|
Re: HELP - nslookup in perl
by Anonymous Monk on Mar 25, 2000 at 08:29 UTC | |
by Nobbyness (Initiate) on Oct 24, 2002 at 16:17 UTC | |
by Anonymous Monk on Mar 24, 2014 at 16:10 UTC |