almaler has asked for the wisdom of the Perl Monks concerning the following question:
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Receiving Error when running script
by mr_mischief (Monsignor) on Sep 19, 2007 at 17:40 UTC | |
by ikegami (Patriarch) on Sep 19, 2007 at 18:08 UTC | |
by almaler (Novice) on Sep 19, 2007 at 18:19 UTC | |
by ikegami (Patriarch) on Sep 19, 2007 at 18:31 UTC | |
by ww (Archbishop) on Sep 19, 2007 at 18:33 UTC | |
by mr_mischief (Monsignor) on Sep 19, 2007 at 18:38 UTC | |
by almaler (Novice) on Sep 19, 2007 at 20:17 UTC | |
by almaler (Novice) on Sep 19, 2007 at 17:58 UTC |