Re: [Tutor] Want to write a Perl based IP to Domain Name converter.

2009-01-31 Thread hongyi . zhao
On Saturday, January 31, 2009 at 21:44, ken...@tds.net wrote: > On Sat, Jan 31, 2009 at 7:11 AM, wrote: >> Hi all, >> >> The script in the following can do the batch conversion from domain name to >> IP: > This is a Python list, not Perl! OMG! It's my

[Tutor] Want to write a Perl based IP to Domain Name converter.

2009-01-31 Thread hongyi . zhao
my $ip = inet_ntoa $number; print "$address:$port -> $ip:$port\n"; } __END__ -- If I want to do the opposite thing, i.e., conversion from IP to domain name, what should I revise this script to do the trick. Regards, -- Hongyi Zhao Xinjiang Technical Insti