Praveen Dharmaraj has asked for the wisdom of the Perl Monks concerning the following question:

Hello,

I get the following error when I try to run a perl script from cmd prompt."Win32::OLE object version 0.1709 does not match $Win32::OLE::VERSION 0.1701".

I understand that there is a version mismatch. I'm trying to run a perl script that was developed by someone else(probably with an earlier version of perl).

Can anybody tell me how to get around this problem?

  • Comment on Win32::OLE object version 0.1709 does not match $Win32::OLE::VERSION 0.1701

Replies are listed 'Best First'.
Re: Win32::OLE object version 0.1709 does not match $Win32::OLE::VERSION 0.1701
by marto (Cardinal) on Aug 18, 2014 at 12:07 UTC

      Thanks a lot Marto! I see what the problem is. But there is no workaround mentioned in the link. Any suggestions?

        Thanks a lot Marto! I see what the problem is. But there is no workaround mentioned in the link. Any suggestions?

        If you've got two left shoes, what is the workaround? Find right shoe :)( reinstall module )

        How did you install Win32::OLE?

        Update: The version of this module you seem to be trying to work with is very old, consider simply installing the current (upto date) version.