Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: duplex serial read write

by BrowserUk (Pope)
on Nov 14, 2013 at 18:14 UTC ( #1062635=note: print w/replies, xml ) Need Help??


in reply to duplex serial read write

Use a count (timeout) on the lookfor(), and each time it times out, check a flag to see if there is anything to be sent.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.