For part (2): You should be using the pp utility that comes with PAR. pp will generate an executable binary file which contains your program + the parts of Perl needed to run it. You do not run PAR from within your program.

Update: You will need to get your program + Perl working on a Windows machine. You run pp on that Windows machine. To my knowledge, you cannot make a cross platform executable with this technology (ie, make Windows exe on a Linux machine), but I could be wrong about that. You will wind up with a normal Windows .exe file. You can do things like stuff an icon in that .exe just like any other Windows program. The .exe version will start a bit slower than the normal version, but other than that, it should be the same.

I suggest that you make a simple "hello world!" program to start with just to familiarize yourself with the mechanics of how to do this. There can be issues like how to include support files or add extra dll into that target .exe. But get started and "on first base" as the first step.


In reply to Re: PAR::Packer shebang + PAR::Heavy missing by Marshall
in thread PAR::Packer shebang + PAR::Heavy missing by kaldor

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.