hi
I was experimenting with PAR module..and have a problem.
What I want to do is to make a .par arhive from all depencities of a script myscript.pl and MyModule.pm (i even dont want to include these files into the .par just their depencities)
So I do this to create the .par :
pp -v -p -o test.par myscript.pl -M lib/MyModule.pm
Ok now if I start the script like this :
pp -r test.par
Everything goes fine, the problem is that myscript.pl and MyModule will be changed often and not only be me, so I want them to be saparate not included in the .par
Now when I try to run myscript.pl standalone, like this :
./myscript.pl
Where inside the script i have :
use FindBin qw($Bin); use lib $Bin . "lib"; use MyModule; use PAR '/path/to/test.par'; ...
The script executes a little bit and then cpu goes to 100%. When I strace it I'm getting this :
stat64("1/cache-0258711d093381286af15b1cbad893d630bd9e91/1ec196d6.pm", + {st_mode=S_IFREG|0644, st_size=3336, ...}) = 0 stat64("1/cache-0258711d093381286af15b1cbad893d630bd9e91/1ec196d6.pm", + {st_mode=S_IFREG|0644, st_size=3336, ...}) = 0 stat64("1/cache-0258711d093381286af15b1cbad893d630bd9e91/1ec196d6.pm", + {st_mode=S_IFREG|0644, st_size=3336, ...}) = 0 ....and the same non stop..
Any idea how to solve this problem !?? (i dont want/need to include myscript.pl and MyModule.pm inside the .par)

In reply to PAR packaging by rootcho

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.