On 25 May 2004 at 15:24, Autrijus Tang wrote:

> On Fri, May 07, 2004 at 03:04:15PM +0500, Vlad Harchev wrote:
> > What is the official way of adding arbitrary files (not perl source - e.g.
> > mylogo.png) to PAR files?
> > 
> > I think it will greatly help if there was some 'pp' option to add arbitrary
> > files to the PAR/binary.
> 
> Yes indeed.  Thanks to Edward Peschko, PAR 0.82 now has "-a/--addfile"
> and "-A/--addlist", two options designed to add arbitrary files and
> directories to the PAR binary.  Enjoy! :-)
> 
> Thanks,
> /Autrjius/
> 

I can get -a to work with filenames, but not dirnames. Am I getting the syntax right?

  C:\ActivePerl\Par>pp -a "c:/ActivePerl/par/test/all_text_files;test/all_text_files" 
  -A test/all_text_files -o t9.exe t9.pl

  C:\ActivePerl\Par>t9.exe
  files test/text01 test/text02 test/text03
  hello01
  hello02
  hello03

  C:\ActivePerl\Par>pp -a "c:/ActivePerl/par/test;test" -o t9.exe t9.pl
  The stat preceding -l _ wasn't an lstat at c:/ActivePerl/lib/File/Find.pm line 252.


Alan Stewart

Reply via email to