Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 rifling through the Monastery: (3)
As of 2017-11-23 00:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (327 votes). Check out past polls.

    Notices?