in reply to
How to find IP address from hostname?
Use
gethostbyname
see
perldoc -f gethostbyname
Comment on
Re: How to find IP address from hostname?
Select
or
Download
Code
In Section
Seekers of Perl Wisdom