Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Serial port - again

by RichardK (Parson)
on Mar 15, 2013 at 17:20 UTC ( #1023746=note: print w/replies, xml ) Need Help??


in reply to Serial port - again

I think you just answered your own question :) , perhaps the read returns as soon as it gets the first character?

Try printing $rx in the loop and then you'll know for sure.

I've never used that module but from a quick scan of the pod it does have a lookfor method.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1023746]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2017-02-19 19:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (293 votes). Check out past polls.