Re: Compiling Perl with PAR



"anton.vandersteen@xxxxxxxxx" <anton.vandersteen@xxxxxxxxx> wrote:

Hello Perl friends,

I am trying to compile a perl programme with :

ppm install PAR
ppm install Module-ScanDeps

Then you can create an executable with the line:

pp script.pl -o script.exe

to an ".exe" programme.

However when I run the executable "file.exe" there occur problem
because I use Tk.

And the problem is? I mean: do you get a warning?

Quite some time ago I used PAR with a project. PAR is quite smart with
finding which modules are needed, but sometimes you need to give it a hint
with "use modulename".

--
John Experienced Perl programmer: http://castleamber.com/

Perl help, tutorials, and examples: http://johnbokma.com/perl/
.



Relevant Pages

  • Re: Parameters in command line
    ... >> Read a bit more about PAR and pp and then you understand. ... Only that what comes out of pp *has* an exe ... > and handle parameters specified on the command line, ... refactor code as per Brian's suggestion. ...
    (comp.lang.perl.misc)
  • Re: speed comparison of Perl to exe solutions
    ... ActiveState, Par or one ... DLLs like the Perl DLL. ... article on PAR which also talks about techniques for reducing the exe ... PAR should be a bit slower in the start-up phase. ...
    (comp.lang.perl.misc)
  • Compiling Perl with PAR
    ... ppm install PAR ... to an ".exe" programme. ... Below you can see the original Perl programme: ... When this works I can solve a bigger problem. ...
    (comp.lang.perl.misc)
  • Re: Perl2EXE vs. PAR vs. perlcc
    ... > Before committing the time and effort to try one of these methods of ... > producing compiled perl programs, I'd welcome the observations, ... I'd suggest PAR as the firt thing to try. ... ppm install PAR ...
    (comp.lang.perl.misc)
  • Re: Perl2EXE vs. PAR vs. perlcc
    ... >>ppm install PAR ... M:\>ppm search PAR ... with the ActiveState auto-compile routines so updates do get pushed out ...
    (comp.lang.perl.misc)