Perl语言中获取本机IP地址
Posted November 5th, 2008 by cdzwm使用Sys::HostIP包。
用法:
use Sys::HostIP;
my $ip_address = Sys::HostIP->ip;
print $ip_address;
Tags: host, ip address, perl
Filed under:default
I’d love to change the world,but they won’t give me the source code.
Caker, Web developer,Beijing,China.
My projects
使用Sys::HostIP包。
用法:
use Sys::HostIP;
my $ip_address = Sys::HostIP->ip;
print $ip_address;
Tags: host, ip address, perl
Leave a Reply