in reply to
gethostbyname("1.1.1") returns 1.1.0.1 ????
If you are trying to validate user input for an IP address, I suggest you read
this
entire thread. There are suggestions on what to do and what not to do.
Cheers -
L~R
Comment on
Re: gethostbyname("1.1.1") returns 1.1.0.1 ????
In Section
Seekers of Perl Wisdom