spurperl has asked for the wisdom of the Perl Monks concerning the following question:
I'm creating Excel charts from my Perl script using Win32 OLE and what annoys me the most is its slow loading time.
What takes most time is the use Win32... clause, it seems. After that, the chart creation itself is relatively simple. Any ideas why this module takes 2 minutes to load ? (My machine is pretty fast, Excel XP loads in about a second).
Thanks in advance
Update: the huge amount of time is spent in:
use Win32::OLE::Const 'Microsoft Excel';
Even without the 'Microsoft Excel' it takes very long...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Win32 OLE painfully slow
by tachyon (Chancellor) on Apr 13, 2004 at 11:22 UTC | |
by spurperl (Priest) on Apr 13, 2004 at 11:40 UTC | |
by tachyon (Chancellor) on Apr 13, 2004 at 11:57 UTC | |
by spurperl (Priest) on Apr 13, 2004 at 17:14 UTC | |
|
Re: Win32 OLE painfully slow
by guha (Priest) on Apr 13, 2004 at 13:08 UTC | |
by Grygonos (Chaplain) on Apr 13, 2004 at 14:39 UTC | |
|
Re: Win32 OLE painfully slow
by maa (Pilgrim) on Apr 13, 2004 at 11:53 UTC |