in reply to PAR::Packer: pp with addfile option: where are the files?

The solution with the Tk::Bitmap and the Tk::Pixmap is great and definitively woth a try.

However, still it would be good to know how to find out where the "addfiles" go. Somehow, when the executable Perl archive is started, it has to know where to extract the archive. Who - or rather what - tells the executable in which directory to extract? And when the files are extracted the (also extracted) Perl interpreter has to know the file and path name of the perl source code file. Anyhow: why should it be possible to add files when I can't find them anymore?

It would be beneficial to know the extraction path, then I can construct eg. installation scripts: pack the files which are to be installed in the archive, together with the Perl script, just start the executable - and it installs the files wherever or however they are meant to be installed.

I assume that it should be a system variable of the Windows OS - but which one, and how to capture?

Anybody who knows how to find out the path information from the running Perl program?

Best greetings and wishes,
Yours
chanklaus

Learning is like swimming against the current - as soon as you stop you'll drift back
(Chinese proverb)
  • Comment on Re: PAR::Packer: pp with addfile option: where are the files?

Replies are listed 'Best First'.
Re^2: PAR::Packer: pp with addfile option: where are the files?
by Anonymous Monk on Nov 08, 2009 at 10:45 UTC