I only see the type property returning numeric constants such as 1024 for DateTime. Am I looking at it the wrong way? But that's not a problem as these codes are documented.
How would you use the LotusScript function TypeName in the OLE-Interface?
Using $dtelem->{TypeName} in the code above delivers an error Win32::OLE(0.1502) error 0x80020003: "Member not found"
in METHOD/PROPERTYGET "TypeName" at ./dumpdocs.pl line 38 so it's obviously not implemented as a method on the array element... This is no fun poking around in the dark. :-(