in reply to Non-buffered read from program
On my environment ,this works good. Hope this helps,open FH, "whois x.x.x.x 2>&1 |"; my $ofh =select(FH); $|=1; select($ofh); #changed while (<FH>) { print; } close FH;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Non-buffered read from program
by arc_of_descent (Hermit) on Dec 30, 2005 at 14:08 UTC | |
by myuji (Acolyte) on Dec 30, 2005 at 14:44 UTC |