in reply to Non-buffered read from program

I have no idea about the whois command, but there are a couple of modules that seem to be relevant, most likely Net::Whois.


holli, /regexed monk/

Replies are listed 'Best First'.
Re^2: Non-buffered read from program
by arc_of_descent (Hermit) on Dec 30, 2005 at 13:23 UTC

    Its not particularly about the whois command, but on how to obtain program output which blocks. The whois command is a perfect example for this.


    --
    Rohan

      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