in reply to Re: Perl & Win32
in thread Exporting an Excel Chart to PNG using Win32::OLE

Well spotted, this is of course why it says:

Execute your scripts with perl -w and use strict - this catches most of your errors.
in the Using OLE with Perl FAQ that comes with ActivePerl.

/J\