perlquestion
xiaoyafeng
<p>I package perl script with pp when I need to publish it to windows clients. Life is peace until one day clients complain temp directory was full. 20+ 50M-size exe files created almost 7G files in C drive!
</p>
<p>
the straightforward way I can think is install perl on client machines and replace exe with scripts. yes, it's a way, but, I prefer exe, which can be view as a protection to prevent user modify it easily.
</p>
<p>
So my question is: how to make all exe built with pp shared libraries other than contain all modules into one executable file? Just like .NET, install one and all exe file can make use of it.
</p>
Thanks in advance!
<p>
<b>UPDATE:</b>
</p>
<p>
Sorry for the long time to reply this. After dig monks' reply below, I realize the better way to deal with this request is packing my own perl distribution, not local lib, not pp. just whole perl distribuiton: perl executable, libraries etc. And use pl2bat, bat2exe to wrap around script, or even make this by hand personally as [thomas895] suggest.
</p>
<p>
Thanks monks, your generous help always makes me less headache. ;)
</p>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-519234">
<br>
<br>
<hr size=5></hr>
<hr />
<p>
I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction
</p>
</div></div>