in reply to
How do I get Perl to run nslookup?
While a pipe might work, you may want to look into
Net::DNS::Resolver
which allows you to specify the nameservers. Or you could use gethostbyname() if you don't need to specify the nameserver.
Comment on
Re: How do I get Perl to run nslookup?
In Section
Seekers of Perl Wisdom