http://blog.vetcafe.net/2009/07/perl_ping_dns.html
2009/8/10 cnhack TNT <[email protected]> > print $1 if qx/ping -c1 google.com/ =~ /\(([\d\.]+)\)/; > > 2009/8/10 imxae <[email protected]> > >> 在cpan上搜来搜去,发现有的dns模块都太复杂了,不知道有没有比较方面的用perl把域名转换为ip的简单代码? >> >> > > > > -- 姜源 Yuan Jiang http://blog.vetcafe.net http://twitter.com/sleetdrop --~--~---------~--~----~------------~-------~--~----~ 您收到此信息是由于您订阅了 Google 论坛“PerlChina Mongers 讨论组”论坛。 要在此论坛发帖,请发电子邮件到 [email protected] 要退订此论坛,请发邮件至 [email protected] 更多选项,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问该论坛 -~----------~----~----~----~------~----~------~--~---
