in reply to Re: Re: Re: Capturing STDERR with -
in thread Capturing STDERR with -
Here's the output:print "OUTPUT: $_" for nslookup("blah.", "A");
STDERR still goes to my console.*** ns1.coxmail.com can't find blah.: Non-existent host/domain OUTPUT: Server: ns1.coxmail.com OUTPUT: Address: 206.157.231.13 OUTPUT:
Regarding the splice, it's to get rid of the three lines you see output there (Server, Address, and a blank). 'host' and 'dig' do not ship with Solaris 8.
-Matt
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Capturing STDERR with -
by Fastolfe (Vicar) on Dec 08, 2001 at 03:00 UTC |