in reply to use Win32::OLE::Variant -- Linux replacement
Linux has no concept of COM and OLE. Running your script on a platform other than Windows will need a rewrite of all functionality that uses OLE.