F
Facco Eloelo
I have lots of domains' name in a text file which called "in.txt".It looks like
that:
in.txt
www.yahoo.com
www.msn.com
www.aol.com
....
Now,I want to get their IP addresses,and put the results into a new text file
called "out.txt".It looks like:
out.txt
www.yahoo.com,66.94.230.51
www.baidu.com,202.108.250.249
www.sina.com.cn,61.135.152.77
www.sohu.com,61.135.150.75
How can I do that using Perl?Thanks in advance.
that:
in.txt
www.yahoo.com
www.msn.com
www.aol.com
....
Now,I want to get their IP addresses,and put the results into a new text file
called "out.txt".It looks like:
out.txt
www.yahoo.com,66.94.230.51
www.baidu.com,202.108.250.249
www.sina.com.cn,61.135.152.77
www.sohu.com,61.135.150.75
How can I do that using Perl?Thanks in advance.