When attempting to access a 64-bit MS Outlook instance to send a mail message (or do anything else in Outlook), this error occurs:
No type library matching "Microsoft Outlook" found at .\testmail2.pl line 4.
Win32::OLE(0.1712): GetOleTypeLibObject() Not a Win32::OLE::TypeLib object at C:/Strawberry/perl/vendor/lib/Win32/OLE/Const.pm line 49.
When line 4 reads:
use Win32::OLE::Const 'Microsoft Outlook';
This is a known issue and, according to this github link jandubois/win32-ole#9 is resolved. The release with the issue resolved is at: https://metacpan.org/release/JDB/Win32-OLE-0.1713
There are multiple CPAN packages that use this. Including Mail::Outlook, which is how I wound up going down this rathole in the first place as that error message is also in a a Mail::Outlook issue