I tried usinf IO::Select adding STDIN: $select = IO::Select->new(); $select->add(\*STDIN); But the 'if(@ready=$select->can_read(0))' is always false. Is there any methos to read from a FILE_HANDLER line by line instead of reading till the end of file?
In reply to Re^2: Read from a Linux pipe hangs.
by dmor4477
in thread Read from a Linux pipe hangs.
by dmor4477
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |