senissaqqara has asked for the wisdom of the Perl Monks concerning the following question:

Hi all,

I've been trying to package up a little Tk program I made, using pp to do the packaging. It all works nicely, produces an .exe that runs smoothly etc, but here's the issue:

I included a directory called 'assets' using the -a option in pp, and it while it added the directory and all the files in it as expected (I unpacked the exe and checked), I don't know how to access those files from my script. What path should I be using to address them? I'm hoping there's a way to avoid going through all the hassle of unpacking the .exe just to access them. Is there?

Thanks for any help!

Replies are listed 'Best First'.
Re: File paths in a pp .exe
by marto (Cardinal) on Apr 24, 2020 at 16:19 UTC

      Ah, beautiful! You have my thanks!