Win32::OLE->QueryObjectType(
$
obj
)
This class method returns the type of object queried (
$obj
). In list context, a two-element list of the type library name and the class name of the object is returned. In scalar context, just the class name is returned.