thanks. i think this is what i am looking for. but i'm getting really confused. besides perldoc.com, do you know where i can find more information about whether i should choose $sel->can_read or $sel->can_write? i think my perl script is becoming really confused, because what used to work is now not working anymore. and also, if i am using open2(*Reader, *Writer, $cmd), which filehandle, Reader or Writer, should i use to find out whether the interactive program is waiting for input? or do i use STDIN?
thanks very much. i really appreciate it.
| [reply] [d/l] [select] |
| [reply] |
matija, thank you.
but it's not working. i think it's more complicated than it sounds? i mean, using IO::Select. are we supposed to go into a while loop? too confusing.
but not all hopeless, i think i found another solution. i think i will try bioperl.
anything you want to do, if you search long enough, you will find someone else has already done it.
thanks anyway. take care. see you.
| [reply] |