First please let me apologize to all of you Perl experts. I have been tasked with modifying a perl script that was written by someone else several years ago and I know absolutely nothing about Perl. I wouldn't have the first clue of how to take this script and make it the minimum test case either. So, any assistance anyone can provide is greatly appreciated because I am way out of my league here and I know it.

Without posting the entire script, the requirement I was given was to remove the lines of the script that were generating log files and recompile the script as an executable. This actually seemed fairly straightforward to me and I removed the following lines from the script:

Dump_log => 'j:\\Dumplog.txt', Input_log => 'j:\\Inputlog.txt', Output_log => 'j:\\Outputlog.txt');

The problem I am now running into is trying to run the script using perl. I thought it had to do with me removing the three lines, but I cannot even run the original script. When I type in "perl myscript.pl" at the command line, I receive the following error:

PerlIO::scalar object version 0.05 does not match $PerlIO::scalar::VER +SION 0.02 at C:/Perl5.8/lib/XSLoader.pm line 88. Compilation failed in require at C:/Perl5.8/lib/Config/IniHash.pm line + 6. BEGIN failed--compilation aborted at C:/Perl5.8/lib/Config/IniHash.pm +line 6. Compilation failed in require at myscript.pl line 1. BEGIN failed--compilation aborted at myscript.pl line 1.

Any assistance is greatly appreciated!

In reply to Version Conflict and XSLoader by almaler

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.