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)

In reply to Re: PAR::Packer: pp with addfile option: where are the files? by chanklaus
in thread PAR::Packer: pp with addfile option: where are the files? by chanklaus

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.