I'm not sure why the code would work in Perl 5.28 as given, but for your problem see the Module Options of Win32::OLE. The new syntax to use is
use Win32::OLE; Win32::OLE->Options(CP => Win32::OLE::CP_UTF8);
Alternatively, you can make the CP_UTF8 constant known by importing it explicitly from Win32::OLE:
use Win32::OLE 'CP_UTF8'; Win32::OLE->Options(CP => CP_UTF8);
In reply to Re: Bareword issue with Perl 5.34
by Corion
in thread Bareword issue with Perl 5.34
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |