You need to use Win32::OLE::Variant module.
Variants are the variable datatype between OLE functions which are a generic type which needs to be casted.
You will need to use Dim() and Get(DIM) to get the elements and need to convert them according to their types to use them.