merrymonk has asked for the wisdom of the Perl Monks concerning the following question:
This works, which is good. However, I wondered if any Monk knew: 1. Why the row suddenly started giving these errors – as far as I can tell no changes have been made to the system; 2. Why the same version of Perl is continuing to work without any issues on another system; 3. How I could prevent the errors – (I appreciate that I probably can use the working Perl however I do not want to do that only to find that this suddenly stops working).use Win32::OLE; use Win32::OLE::Const; my $Excel = Win32::OLE->new('Excel.Application', 'Quit'); my $xlcon = Win32::OLE::Const->Load($Excel); foreach $key (sort {$a cmp $b} keys %$xlcon) { print "$key value $xlcon->{$key}\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Excel Const - No type library matching error message
by poj (Abbot) on Dec 06, 2017 at 19:09 UTC | |
by merrymonk (Hermit) on Dec 06, 2017 at 21:07 UTC | |
by merrymonk (Hermit) on Dec 08, 2017 at 10:41 UTC | |
by poj (Abbot) on Dec 08, 2017 at 16:37 UTC | |
by merrymonk (Hermit) on Dec 08, 2017 at 21:23 UTC | |
|