if( Win32::Ole->LastError == HRESULT(0x800a01a8)){ print "Error\n"; }