hiding Win32::SerialPort->start( ... ) error messages

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!


I would like to stop reporting the error by start function to the
cmd.exe, and only have them in a message box.

The following code is not doing it (I still get the message in

$ConnectedSP = Win32::SerialPort->start( "$ConfigFile" ) || { $answer =
$mw->messageBox( -title => "Error",
        -message => "$msg",
        -icon => 'error',
        -type => 'OK' )

Need your help please.

Site Timeline