Hi, I have a script that runs perfectly natively. However, when
compiled (using perlapp from ActiveState's Dev Kit) it fails to run
from a DOS command window, and fails with …
Can't locate object method "load" via package "Win32::Exe::PE" at
/PerlApp/Parse/Binary.pm line 453.
I assuming, perhaps naively, that this is something that can be fixed
in my script, rather than being an issue with perlapp.
I'm using Perl v5.0.8 with Parse::Binary and Win32::Exe both at v0.06
Any ideas very much appreciated.
Regards
Nigel
use strict;
use File::Copy;
use Win32::EventLog;
use POSIX;
use Pod::Text;
use Pod::Html;
use Pod::Pdf;
use Parse::Binary;
use Win32::Exe;
..
..
..
if ( -f "$EXE" ) {
$EXEV = Win32::Exe->new($EXE);
@ORIG_VERS = split ( /,/, $ORIG_VERS, 4 );
$ORIG_MAJ = $ORIG_VERS[0];
$ORIG_MIN = $ORIG_VERS[1];
}
..
..
..