in reply to Re: Win32::OLE freezing Tk
in thread Win32::OLE freezing Tk

Thank you, Corion. undef $ppt; seems to do the trick. I am not sure how this can let PowerPoint shut down without keeping the GUI occupied, but it works.

Replies are listed 'Best First'.
Re^3: Win32::OLE freezing Tk
by marto (Cardinal) on Dec 23, 2019 at 16:20 UTC

    If you are concerned about performance can't you just copy the file without opening the file in PowerPoint and using the 'save as' option?

      As I stated in my post, this was just an example. I perform transformations before saving the target file.

Re^3: Win32::OLE freezing Tk
by bliako (Abbot) on Dec 24, 2019 at 10:37 UTC

    Perhaps this (edit: undef $ppt;) just kills PP as opposed to shutdown/close?