in reply to win32::serial port

$Win32SerialObject->lookclear;
$Win32SerialObject->purge_all;