in reply to Re: Win32::SerialPort Error: Overlapped-I/O operation is in progress ($^E too late)
in thread Win32::SerialPort Error: Overlapped-I/O operation is in progress

Good point. So I put the test right after the new Win32::SerialPort($PortName), and that's where it failed, with the same error message.
  • Comment on Re^2: Win32::SerialPort Error: Overlapped-I/O operation is in progress ($^E too late)

Replies are listed 'Best First'.
Re^3: Win32::SerialPort Error: Overlapped-I/O operation is in progress ($^E too late)
by ikegami (Patriarch) on Mar 28, 2005 at 02:35 UTC
    Did new Win32::SerialPort($PortName) return undef? $^E is only meaningful if it did.
      Yes, it returned undef.