note
iburrell
How long does it take to start Excel on the machine? Because that is what the <code>use Win32::OLE::Const 'Microsoft Excel';</code> line is doing. It loads the 'Microsoft Excel' COM component, which is effectively the Excel application. I am guessing it loads some constants out of the library, but the application startup is where the time goes.
389608
389608