Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I want to compile my script. How do I use PAR? Can I compile all my scripts into one .exe? And how do I embedded SQLite and web server into that .exe? Thanks very much....

Replies are listed 'Best First'.
Re: How to use PAR
by PodMaster (Abbot) on Jul 09, 2004 at 09:23 UTC
    How to RTFM
    C:\dev>perldoc par
    NAME
        par.pl - Make and run Perl Archives
    ...
    C:\dev>perldoc PAR.pm
    NAME
        PAR - Perl Archive Toolkit
    
    ...
    C:\dev>perldoc PAR::FAQ
    NAME
        PAR::FAQ - Frequently Asked Questions about PAR
    ...
    C:\dev>perldoc tkpp
    NAME
        tkpp - frontend to pp written in Perl/Tk
    
    ...
    C:\dev>perldoc pp
    NAME
        pp - Perl Packager
    ...
    C:\dev>
    If you know it's name, its easy to learn about it :)

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

Re: How to use PAR
by Happy-the-monk (Canon) on Jul 09, 2004 at 09:21 UTC

    Go ahead, have a look at PAR.

    Cheers, Sören

Re: How to use PAR
by chime (Friar) on Jul 09, 2004 at 09:45 UTC

    Yes, you can combine scripts into one .exe
    And you can also add in modules as you need to
    The folowing tutorial explains it very well

    http://par.perl.org/index.cgi
    The PAR tutorial is on this page in full

    For more information you'll find some good ideas in this node :
    Which PAR gui interface (convert perl.pl to perl.exe)

    It will also point out where to find the PAR files

Re: How to use PAR
by tinita (Parson) on Jul 09, 2004 at 09:24 UTC
    How do I use PAR?
    like it is documented in PAR. you use the pp-script to package your perl script.
    yes, you can embed SQLite. i just don't know what you mean by emedding a web server. is that web server written in perl? then you should be able to package that with PAR.