Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by Anonymous Monk
on Apr 22, 2016 at 22:43 UTC ( [id://1161277]=note: print w/replies, xml ) Need Help??


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

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1161277]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-03-19 07:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found