http://www.perlmonks.org?node_id=611330


in reply to Re: Using Win32::OLE and Excel - Tips and Tricks
in thread Using Win32::OLE and Excel - Tips and Tricks

Bareword "msoFalse" "msoTrue" "msoScaleFromTopLeft" not allowed while "strict subs" in use at PPT_ex_2.pl line 25. How can I use the MSWin32 constants without a reference? Thanks...
  • Comment on Re^2: Using Win32::OLE and Excel - Tips and Tricks

Replies are listed 'Best First'.
Re^3: Using Win32::OLE and Excel - Tips and Tricks
by Anonymous Monk on Jul 20, 2007 at 15:11 UTC
    I'm seeing the problem with MSWin32 constants and 'use strict'. Anyone know what the problem is ? Any workaround? Thanks, -- Charles DeRykus
      I needed to add the following to get the needed constant def's: use Win32::OLE::Const 'Microsoft Office .* Object Library'; Sorry for the noise.. -- Charles DeRykus
        I had the same problem. It's working now thanks to you.
        thank ou for sharing the way to handle poewrpoint through perl....i am a beginner in perl and i am trying to display an image on the slide but i am geting the same error as mentioned in the first comment...could you please elaborate on it ?