in reply to Re: Read from a Linux pipe hangs.
in thread Read from a Linux pipe hangs.
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Read from a Linux pipe hangs.
by JediWizard (Deacon) on Feb 23, 2005 at 20:59 UTC |