in reply to Bareword issue with Perl 5.34
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);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Bareword issue with Perl 5.34
by Anonymous Monk on Oct 11, 2021 at 17:24 UTC | |
by Corion (Patriarch) on Oct 11, 2021 at 18:18 UTC |
In Section
Seekers of Perl Wisdom