in reply to How to release a precompiled XS module?

Would PAR::Packer and the associated program pp be a way of doing this?

Replies are listed 'Best First'.
Re^2: How to release a precompiled XS module?
by RonW (Parson) on Nov 10, 2014 at 17:31 UTC

    Yes, this is a very good way to accomplish this.

    Note that you may have to do pp -x yourProgram.pl to "capture" the needed libraries.

    (If your program requires parameters when run, pp has an -xargs option with which you can specify the parameters. (I suggested this option a few years ago. Thanks again to the PAR::Packer devs for adding this.))

    If the resulting package still doesn't work, try adding -a /path/to/library for each of the still missing needed libraries.