![]() |
|
go ahead... be a heretic | |
PerlMonks |
pp (PAR-Packer) - how to access included data filesby ibm1620 (Hermit) |
on Nov 06, 2022 at 19:12 UTC ( [id://11148010]=perlquestion: print w/replies, xml ) | Need Help?? |
ibm1620 has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to use pp to build an executable that contains a data file from which it reads.
Here's the command I'm using:
pp -v=3 -a /Users/chap/private/dict/lex.dict -o ppdir/brillig brillig Verbose output includes the line: adding /Users/chap/private/dict/lex.dict as Users/chap/private/dict/lex.dictThe pp documentation of the -a switch is as follows: -a, --addfile=FILE|DIR Add an extra file into the package. If the file is a directory, recursively add all files inside that directory, with links turned into actual files.I don't understand the bolded sentence. What path should my Perl code use to access lex.dict? Thanks!
Back to
Seekers of Perl Wisdom
|
|