Get installation directory for exe wrapped by PAR::Packer

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I understand that it is possible to deploy a standalone Perl application  
with PAR::Packer, i.e. all modules and the Perl interpreter bundled. I  
also understand that the standalone executable unpacks everything to run  
in a temporary directory. What I am not clear on is whether there is a  
way to locate the installation directory of the standalone bundle; in my  
testing of this, when I try to get the current directory of the Perl  
executable, it is the temporary directory. Is there any API I am  
overlooking that allows me to query the installation path of the packed  
exectuable, not the running bits in the temporary directory?


Kevin Walzer
Code by Kevin/Mobile Code by Kevin

Re: Get installation directory for exe wrapped by PAR::Packer

On 22/6/2015 05:31, Kevin Walzer wrote:
Quoted text here. Click to load it

no matter where you place it , it is always running from temp , sorry

Site Timeline