Tomtom has asked for the wisdom of the Perl Monks concerning the following question:
But it seems that when you call open with a pipe (to get the output of netstat, like in the previous sample code, for example), the opened FileHandle is write-only, or read-only, you can't write and read at the same time ... It isn't "interactive".open(NETWORK, "netstat -i -n |");
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: open with a command
by Transient (Hermit) on Jun 14, 2005 at 14:54 UTC | |
Re: open with a command
by moot (Chaplain) on Jun 14, 2005 at 14:54 UTC | |
Re: open with a command
by davidrw (Prior) on Jun 14, 2005 at 14:56 UTC | |
Re: open with a command
by northwind (Hermit) on Jun 14, 2005 at 15:38 UTC | |
Re: open with a command
by Tanalis (Curate) on Jun 14, 2005 at 14:51 UTC | |
Re: open with a command
by Argel (Prior) on Jun 14, 2005 at 18:57 UTC |