[EMAIL PROTECTED] wrote:

>Using the Perl Packager (PP), I'm trying to build a PAR-based standalone 
>EXE that utilizes Unicode::Collate.  No problem getting Unicode::Collate 
>into the package, but that module requires a "keys" file (typically 
>'allkeys.txt') to exist in the folder lib/Unicode/Collate/. Is there a way 
>to make this happen with PP?  I can force PP to include the file by using 
>the -M parameter, but PP puts it at the root of the archive, not in the 
>lib/Unicode/Collate folder where it need to be. (This is documented 
>behavior of -M when the file being included isn't .pm, .ix, or .al.)
>
Use the "-a" option:

-a "old_filename.txt;new_filename.txt"

e.g. I had a similar problem with CPANPLUS::Backend requiring a 
CPANPLUS.pot file.  This command-line includes the file in the right place:

pp -a 
"C:\perl5\site\lib\CPANPLUS\I18N\CPANPLUS.pot;lib\CPANPLUS\I18N\CPANPLUS.pot" 
-o test.exe test.pl

(I'm using PAR-0.85.  You may need to upgrade your PAR if you haven't 
got the -a option.)

HTH,
- Steve



------------------------------------------------
Radan Computational Ltd.

The information contained in this message and any files transmitted with it are 
confidential and intended for the addressee(s) only.  If you have received this 
message in error or there are any problems, please notify the sender immediately.  The 
unauthorized use, disclosure, copying or alteration of this message is strictly 
forbidden.  Note that any views or opinions presented in this email are solely those 
of the author and do not necessarily represent those of Radan Computational Ltd.  The 
recipient(s) of this message should check it and any attached files for viruses: Radan 
Computational will accept no liability for any damage caused by any virus transmitted 
by this email.

Reply via email to