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



Hi,

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
cmd.exe):

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

Need your help please.

.