No type library matching "Microsoft Excel" found at **.pl line 6.
Win32::OLE(0.1712): GetOleTypeLibObject() Not a Win32::OLE::TypeLib object at C:/Perl/lib/Win32/OLE/Const.pm line 49.
If you have already installed excel, see if you are using the 64-bit version. If yes, please add a win32 to the registry, the content is the same as win64
The registry path is as follows:
\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{00020813-0000-0000-C000-000000000046}\1.9\0\win32
Screenshot below: