Hi I have a program in Perl which uses Win32::OLE to use excel to create a report, then mail that report to users the program now is running fine in Perl 32 bit in Win2003 SP2 we are upgrading to new machine Win 2008 64 bit , Perl64 bit when i run the same program in Perl64 bit I get this error message

defined(@array) is deprecated at C:/Perl64/site/lib/Mail/Sender.pm line 329. (Maybe you should just omit the defined()?) defined(@array) is deprecated at C:/Perl64/site/lib/Mail/Sender.pm line 2613. (Maybe you should just omit the defined()?) Win32::OLE object version 0.1709 does not match $Win32::OLE::VERSION 0.1704 at C :/Perl64/lib/DynaLoader.pm line 214. Compilation failed in require at C:\misc\tools\reporting\cwc_daily_report.pl lin e 4. BEGIN failed--compilation aborted at C:\misc\tools\reporting\cwc_daily_report.pl line 4.

I have copied the Perl 32 bit in the new machine , and it can run the program fine , however i want to use the perl 64 bit to get the benefit of using more than 2GB memory Any Help please? Thanks

In reply to Perl64 bit Win32::OLE problem by bassem_farouk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.