Hello Monks,

I need your help again.

I have several questions on pp.

1. Since par files are essentially zipped archives, they should be cross platform. However, I read in the documentation that the Binary file (I am assuming it meant the par file) created by pp should be used on the same o/s where it was created. If par file is cross platform then it should not matter which platform it was generated, right?

2. I tried pp the following two ways, however both methods give me out of memory error.

2a.

pp --multiarch --output=t1.par script\main.pl<br> par t1.par

2b.

pp -P -o t1.pl script\main.pl<br> perl t1.pl

My script, main.pl is not complicated. It is barely 200 lines long. What may be happening here?

3. I have a set of scripts which get called from main.pl. Should I include the called scripts in just one par file?

As addtional information, I should mention that my scripts are coded in a very simple way. The were not created as module. I hope that should not matter. I am currently using Strawberry Perl 5.10 on Win XP.

Thanks so much.

Ash


In reply to Quesion on PAR::Packer by jujiro_eb

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.