O
osoeder
Hello, I plan to compile some of my Perl scripts to .exe.
I followed this instruction:
http://www.expertsrt.com/tutorials/Matt/perlPAR.html
I could compile all new modules, but as soon as I type the command:
C:\temp>pp clip.exe clip.pl
it will show this output:
Can't find par loader at C:/Perl/site/lib/PAR/Packer.pm line 101.
Here is an extract around line 101 of Packer.pm
sub set_options {
my ($self, %opt) = @_;
$self->{options} = \%opt;
$self->_translate_options($self->{options});
$self->{parl} ||= $self->_can_run("parl$Config{_exe}")
or die("Can't find par loader");
$self->{dynperl} ||=
$Config{useshrplib} && ($Config{useshrplib} ne 'false');
$self->{script_name} = $opt{script_name} || $0;
}
Thanks for you help
Oliver
I followed this instruction:
http://www.expertsrt.com/tutorials/Matt/perlPAR.html
I could compile all new modules, but as soon as I type the command:
C:\temp>pp clip.exe clip.pl
it will show this output:
Can't find par loader at C:/Perl/site/lib/PAR/Packer.pm line 101.
Here is an extract around line 101 of Packer.pm
sub set_options {
my ($self, %opt) = @_;
$self->{options} = \%opt;
$self->_translate_options($self->{options});
$self->{parl} ||= $self->_can_run("parl$Config{_exe}")
or die("Can't find par loader");
$self->{dynperl} ||=
$Config{useshrplib} && ($Config{useshrplib} ne 'false');
$self->{script_name} = $opt{script_name} || $0;
}
Thanks for you help
Oliver