Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by Anonymous Monk
on Apr 22, 2016 at 22:43 UTC ( #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

  • 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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1161277]
help
Chatterbox?
and one hand claps...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2018-02-19 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (265 votes). Check out past polls.

    Notices?