On Mon, 18 Jan 2010, Michael Ellery wrote:
> 
> I have a slow startup problem with a library I have written. The
> observed behavior is that perl scripts that use my library
> *intermittently* take 30 seconds to startup. If I run them again
> immediately thereafter, they drop back down to about 10 seconds to
> startup. If I wait for some time (several hours, perhaps, although I'm
> not sure what the trigger is), then the script will exhibit slow startup
> again for the first execution and behave normally thereafter. Rebooting
> also causes the problem to reappear.

Please try this patch to Win32::OLE::Const:

http://code.google.com/p/libwin32/source/diff?spec=svn465&r=465&format=side&path=/trunk/Win32-OLE/lib/Win32/OLE/Const.pm

It specifically deals with some slowness in Win32::OLE::Const that
_may_ be the problem you are seeing.

I guess I should make a Win32::OLE CPAN release to get this change
out to the rest of the world.  So please confirm if this solves
your problem!

Cheers,
-Jan

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to