use Win32::ODBC; Win32::ODBC::ConfigDSN(ODBC_REMOVE_DSN, "DSN=TempDSN") or die "Unable to remove DSN: ".Win32::ODBC::Error()."\n"