Not that it really matters because Socket is part of every perl distribution. But you could also do it like so
my $string = unpack('N',scalar(gethostbyname("192.168.1.100")));
In reply to Re: INET_NTOA Equivalent
by jaco
in thread INET_NTOA Equivalent
by turbo3k
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |