cmcmillo has asked for the wisdom of the Perl Monks concerning the following question:
open(TPOOL, "|thread_pool.test) || print "error: $!" && exit(1)); while(1) { sleep 10; print TPOOL "This is just a test\n"; } Reader: file name: thread_pool.test while(1) { my $input = <STDIN>; log("input: $input"); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Writing to a Pipe
by ikegami (Patriarch) on Jun 21, 2007 at 01:12 UTC | |
by cmcmillo (Initiate) on Jun 22, 2007 at 20:28 UTC |