in reply to Re^2: Non-buffered read from program
in thread Non-buffered read from program
perhaps the backticks will give you a way. Then you can use something like this
$myvar = `whois x.x.x.x` ;
Then you can manipulate/search/test the output from the command, through $myvar.
G