Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Non blocking read on a filehandleby c-era (Curate) |
on Jan 30, 2001 at 19:35 UTC ( [id://55250]=note: print w/replies, xml ) | Need Help?? |
If you are on Win32, you are just out of luck. But if you are on unix/linux you can set the filehandle to non-blocking. This will let you read from the handle if something is there. If nothing is there it will continue on to the next line of code.
In Section
Seekers of Perl Wisdom
|
|