Alternative approach (Was: Re: message before unpacking)

2021-01-18 Thread Johan Vromans
The thread "message before unpacking" inspired me to take the time to write this down. Some time ago I was pointed at a different approach for packing perl packages. It turned out to work quite well. The basic idea is not unlike PAR/Packager (pp): gather all files needed and put them in a

Re: message before unpacking

2021-01-18 Thread Robert Eden
I searched the files for mkdir statements and came up with a hack.. :) In boot.c     par_init_env();     stmpdir = par_mktmpdir( argv );     if ( !stmpdir ) DIE;    /* error message has already been printed */     rc = my_mkdir(stmpdir, 0700); *// 2021-01-18 rmeden

Re: message before unpacking

2021-01-18 Thread Roderich Schupp
On Mon, Jan 18, 2021 at 9:53 PM Robert Eden wrote: > Checking the mailing list archives, this was discussed in CPAN ticket > 8846, but no real resolution. > What ticket 8846? > Is there any hook to do this? > No. Your main script will only start executing once all files are unpacked.

message before unpacking

2021-01-18 Thread Robert Eden
Greetings! xmltv.org thanks you for the module!  I was able to get our Windows xmltv distribution working under Par::Packer (migrating from perlapp).  Wasn't too hard, should have done it ages ago. The one concern I have is the slow unpacking time.  Since it's only the first run, I'd like