Hi Markus,
On 05/17/2011 05:48 PM, Markus Jansen wrote:
Any hints appreciated.
these are hints at best, but check the PAR list's archive and the PAR
repository/history for 'reusable':
Below's what I found with a svn log | grep, maybe that helps partially
for the $^X problem.
Beware, I haven't used this feature much.
Cheers,
Steffen
svn diff -c1055
Index: trunk/lib/pp.pm
===================================================================
--- trunk/lib/pp.pm (revision 1054)
+++ trunk/lib/pp.pm (revision 1055)
@@ -358,6 +358,18 @@
Run the resulting packaged script after packaging it.
+=item B<--reusable>
+
+B<EXPERIMENTAL>
+
+Make the packaged executable reusable for running arbitrary, external
+Perl scripts as if they were part of the package:
+
+ pp -o myapp --reusable someapp.pl
+ ./myapp --par-options --reuse otherapp.pl
+
+The second line will run F<otherapp.pl> instead of F<someapp.pl>.
+
=item B<-S>, B<--save>
Do not delete generated PAR file after packaging.