in reply to perl to convert text list of ip address to a name
#!/usr/bin/perl -w use strict; use Socket; while ( <DATA> ) { chomp; print +( gethostbyaddr( inet_aton($_), AF_INET ) )[0], $/; } __DATA__ 66.39.54.27 209.197.123.153 216.109.127.30 205.188.244.138
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: perl to convert text list of ip address to a name
by biosysadmin (Deacon) on May 17, 2004 at 23:15 UTC | |
by saskaqueer (Friar) on May 18, 2004 at 02:25 UTC |