mjd-perl-pm on Wed, 30 Oct 2002 10:32:58 -0500 |
> What seems to be happening is that nslookup prints once > if there is a valid domain name and the output is captured in $Text. > However, it appears to be printing twice for an invalid domain name > and the second print is not captured. Is there a work around to this > problem? If I were doing it, I would work around the problem by using Perl's built-in 'gethostbyname' function, rather than by calling the external 'nslookup'. Then the parsing problems would go away. **Majordomo list services provided by PANIX <URL:http://www.panix.com>** **To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**
|
|