in reply to Two sets of Win32::OLE::Const at once??
Try ;
poj
You may need to change 14.0 to your version.#!perl use Win32::OLE; use Win32::OLE::Const; use Win32::OLE::Const 'Microsoft Office 14.0 Object Library'; # test my $hr = Win32::OLE::Const->Load('Microsoft Office 14.0 Object Library +'); foreach my $key (keys %$hr) { printf "$key = %s\n", $hr->{$key}; }
poj
|
---|
In Section
Seekers of Perl Wisdom