http://www.perlmonks.org?node_id=1161277


in reply to PAR::Packer to create an application without a decompression into temp?

Is there a way to reduce the redundancy? I would like to install the temp cache with my installer and remove the already decompressed files from the PAR archive.

Yup, its trivial, don't use PAR, use a portable perl , all windows perls are portable they all come with "relocatable @INC", but on other OS you have to turn that feature on when compiling, see Relocatable @INC, see Portable, Re^3: How to create relocatable perl 5.20.1 ? ( reloc_perl)

See createdistribution/createexecutable or cavapackager or just plain portable strawberryperl

Citrus Perl was abandoned

:) not really no, see Why upgrade perl? and https://sourceforge.net/p/citrusperl/code/HEAD/tree/trunk/

5.16.3 is a most excellent version modern perl

If you want a newer citrus perl, for the newest experimental features, well, all you have to do is contact Mark Dootson and make a deal, or compile it yourself

but like I said, 5.16.3 is modern enough

  • Comment on Re: PAR::Packer to create an application without a decompression into temp?

Replies are listed 'Best First'.
Re^2: PAR::Packer to create an application without a decompression into temp?
by bubnikv (Novice) on Apr 25, 2016 at 16:24 UTC
    Thanks a lot! The relocatable @INC was the key I was looking for. Now I am using the PAR::Packer to build a PAR archive, then I decompress the PAR archive, add a relocatable perl executable (and the perl.dll on Windows) to the soup and I am done. Vojtech