Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1051331]
help
Chatterbox?
choroba uses Slidy from W3C to make presentations
[Corion]: choroba: I'm still using spod5 as my pod-to-ooxml- converter didn't really get off the ground so far

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2017-09-26 09:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (293 votes). Check out past polls.

    Notices?