Steffen Mueller wrote:
Hi Christoph,

Ch Lamprecht wrote:
if anyone is interested, here is what I am testing at the moment. Added cache_cb to M::SD as described before and using it from PAR-Packer. PAR-Packer gets a cd|cachedeps (filename) option.
I use it like 'pp -cd deps.dat -more_options  script.pl' or
'pp -cd deps.dat -o test.exe -e "use Tk; tkinit; MainLoop;" 'Works fine for me.

I'll try to give it a whirl on the weekend. But no promises: In case I don't get to it then, I won't have any time at all for the next two weeks (conference).

Hi,

thanks, don't worry ;)
I will wait until I hear some feedback here.
There are some things I can think of improving:
- Adding some kind of locking to the cache file.
- Loading the required Modules (Digest::MD5 and Storable) at runtime to avoid having to add these to PAR-Packer Prerequisites.
- Caching-code could go to a seperate module which would then be used by 
PAR-Packer
- Using a system wide default dependency file. Then one could simply use it like pp --use_cache

Cheers, Christoph

Reply via email to