Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Unusual error in Win32::SerialPort (Missing REQUIRED setting for BAUD)

by dasgar (Curate)
on Aug 28, 2013 at 23:25 UTC ( #1051331=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Unusual error in Win32::SerialPort (Missing REQUIRED setting for BAUD)
in thread Unusual error in Win32::SerialPort (Missing REQUIRED setting for BAUD)

Can you post minimal code needed to reproduce the error? Also, what version of Win32::SerialPort and Perl are you using?

Looking at some old code of mine that used Win32::SerialPort, my code did do something along the lines of $serial->baudrate($baudrate); and it did work.

Out of curiosity, did you happen set the value of $baudrate like $baudrate = "38400";? If so, try changing that to be $baudrate = 38400; instead.


Comment on Re^3: Unusual error in Win32::SerialPort (Missing REQUIRED setting for BAUD)
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1051331]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2015-07-05 18:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls