in reply to Setting baudrate automatically?

See Controlling Modems with Win32::SerialPort.