> i am trying to get my mind around the concept of open2 which is..
> open2( /*MYSTDIN, /*MYSTDOUT, "myprog");
> how do i simply read to the program and write to the program..
> is it just...
> print MYSTDIN, "my data\n";
> and then a ..
> while(<MYSTDOUT>) {
> ...
> }
I think you will need to use the select(RBITS,WBITS,EBITS,TIMEOUT)
function (see perlfunc) or its OO equivalent, IO::Select.
ELB
PS - This does not belong on the mod_perl list.
Try somewhere else next time, such as comp.sys.lang.perl.
--
Eric L. Brine | Chicken: The egg's way of making more eggs.
[EMAIL PROTECTED] | Do you always hit the nail on the thumb?
ICQ# 4629314 | An optimist thinks thorn bushes have roses.